| | |
| | | 'supports' => [ 'title', 'editor', 'custom-fields'], |
| | | 'hierarchical' => true, |
| | | 'has_archive' => true, |
| | | 'public' => false, |
| | | ])->setAll([ |
| | | 'system' |
| | | ]); |
| | |
| | | $registrar = Registrar::getInstance($c); |
| | | $page = $this->addPage($registrar->getPlural(), $c, $registrar->getIcon()); |
| | | $page->setPermission(Roles::getPermissionName('edit', $c)); |
| | | $this->sections[$c] = new Section($registrar->getPlural(), $c, $registrar->getIcon(), 'content'); |
| | | $page->setSection($c); |
| | | |
| | | |
| | | if ($registrar->hasFeature('verify_entry')) { |
| | | |
| | | } |
| | | |
| | | //TODO: add artist management and invitations, if applicable |
| | | } |
| | | } |