public function create()
    {
        $this->loadModel('Content.ContentTypes');
        $types = $this->ContentTypes->find()
            ->select(['id', 'slug', 'name', 'description'])
            ->all();

        $this->title(__d('content', 'Create New Content'));
        $this->set('types', $types);
        $this->Breadcrumb
            ->push('/admin/content/manage')
            ->push(__d('content', 'Create new content'), '');
    }
public function create()
    {
        $this->loadModel('Content.ContentTypes');
        $types = $this->ContentTypes->find()
            ->select(['id', 'slug', 'name', 'description'])
            ->all();

        $this->title(__d('content', 'Create New Content'));
        $this->set('types', $types);
        $this->Breadcrumb
            ->push('/admin/content/manage')
            ->push(__d('content', 'Create new content'), '');
    }
public function create ( ) { $ this -> loadModel ( 'Content.ContentTypes' ) ; $ types = $ this -> ContentTypes -> find ( ) -> select ( [ 'id' , 'slug' , 'name' , 'description' ] ) -> all ( ) ; $ this -> title ( __d ( 'content' , 'Create New Content' ) ) ; $ this -> set ( 'types' , $ types ) ; $ this -> Breadcrumb -> push ( '/admin/content/manage' ) -> push ( __d ( 'content' , 'Create new content' ) , '' ) ; }
Content-type selection screen.

User must select which content type wish to create.

@return void
Content - type selection screen .