['label' => 'Title', 'is_html' => false], 'summary' => ['label' => 'Summary', 'is_html' => false], 'content' => ['label' => 'Content', 'is_html' => true], 'meta_title' => ['label' => 'Meta Title', 'is_html' => false], 'meta_description' => ['label' => 'Meta Description', 'is_html' => false], 'meta_keywords' => ['label' => 'Meta Keywords', 'is_html' => false], ]; public const HOMEPAGE = [ 'title' => ['label' => 'Title', 'is_html' => false], 'content' => ['label' => 'Content', 'is_html' => true], 'meta_title' => ['label' => 'Meta Title', 'is_html' => false], 'meta_description' => ['label' => 'Meta Description', 'is_html' => false], 'meta_keywords' => ['label' => 'Meta Keywords', 'is_html' => false], ]; public static function categoryCodes(): array { return array_keys(self::CATEGORY); } public static function homepageCodes(): array { return array_keys(self::HOMEPAGE); } }