Craft\FormBuilder2_EntryController::navigation PHP Méthode

navigation() public méthode

Sidebar Navigation
public navigation ( )
    public function navigation()
    {
        $navigationSections = [['heading' => Craft::t('Menu'), 'nav' => [['label' => Craft::t('Dashboard'), 'icon' => 'tachometer', 'extra' => '', 'url' => UrlHelper::getCpUrl('formbuilder2')], ['label' => Craft::t('Forms'), 'icon' => 'list-alt', 'extra' => craft()->formBuilder2_form->getTotalForms(), 'url' => UrlHelper::getCpUrl('formbuilder2/forms')], ['label' => Craft::t('Entries'), 'icon' => 'file-text-o', 'extra' => craft()->formBuilder2_entry->getTotalEntries(), 'url' => UrlHelper::getCpUrl('formbuilder2/entries')]]], ['heading' => Craft::t('Quick Links'), 'nav' => [['label' => Craft::t('Create New Form'), 'icon' => 'pencil-square-o', 'extra' => '', 'url' => UrlHelper::getCpUrl('formbuilder2/forms/new')]]], ['heading' => Craft::t('Tools'), 'nav' => [['label' => Craft::t('Export'), 'icon' => 'share-square-o', 'extra' => '', 'url' => UrlHelper::getCpUrl('formbuilder2/tools/export')], ['label' => Craft::t('Configuration'), 'icon' => 'sliders', 'extra' => '', 'url' => UrlHelper::getCpUrl('formbuilder2/tools/configuration')]]]];
        return $navigationSections;
    }