true, 'resourceName' => 'WideSlide', 'itemName' => 'Slide', 'itemsName' => 'Slides', 'image' => [ 'width' => 1920, 'height' => 380, 'resizeMethod' => 'cropCenter', 'resizeMethodAlias' => 'cc', ], 'descriptionMaxLength' => 100, '__constructorOptions' => [ 'App\\WideSlide\\Admin\\View' => ['hasLog' => true], ], 'dynamicFormRelations' => [ [ 'element' => 'linkType', 'node' => '[name="linkType"]', 'group' => '[name="linkType"]', 'event' => 'change', 'rules' => [ [ 'value' => AbstractObj::LINK_TYPE_URL, '_elements' => ['url', 'linkText'], ], [ 'value' => AbstractObj::LINK_TYPE_CMS, '_elements' => ['pageId', 'linkText'], ], ], ], [ 'element' => 'slideType', 'node' => '[name="slideType"]', 'group' => '[name="slideType"]', 'event' => 'change', 'rules' => [ [ 'value' => AbstractObj::SLIDE_TYPE_VIDEO, '_elements' => ['video'], ], [ 'value' => AbstractObj::SLIDE_TYPE_IMAGE, '_elements' => ['image'], ], ], ], ], ]; return $config;