sectionUid => fieldUid */ public array $sectionImageFields = []; /** @var array sectionUid => fieldUid */ public array $sectionContentFields = []; public function defineRules(): array { return [ [['publicationName', 'publicationDescription'], 'string'], [['themeBackground', 'themeForeground', 'themeAccent', 'themeAccentForeground'], 'string'], [['showInDiscover'], 'boolean'], [['enabledSections'], 'each', 'rule' => ['string']], ]; } }