public function getMenuPresence()
    {
        return [
            'id'               => 'models.' . $this->getRouteSlug(),
            'label'            => ucfirst($this->getInformation()->labelPlural(false)),
            'label_translated' => $this->getInformation()->labelPluralTranslationKey(),
            'type'             => MenuPresenceType::ACTION,
            'action'           => $this->routeHelper->getRouteNameForModelClass($this->class, true) . '.index',
            'parameters'       => [
                'home' => true,
            ],
            'permissions'      => [
                "models.{$this->getRouteSlug()}.*",
            ],
        ];
    }
public function getMenuPresence()
    {
        return [
            'id'               => 'models.' . $this->getRouteSlug(),
            'label'            => ucfirst($this->getInformation()->labelPlural(false)),
            'label_translated' => $this->getInformation()->labelPluralTranslationKey(),
            'type'             => MenuPresenceType::ACTION,
            'action'           => $this->routeHelper->getRouteNameForModelClass($this->class, true) . '.index',
            'parameters'       => [
                'home' => true,
            ],
            'permissions'      => [
                "models.{$this->getRouteSlug()}.*",
            ],
        ];
    }
public function getMenuPresence ( ) { return [ 'id' => 'models.' . $ this -> getRouteSlug ( ) , 'label' => ucfirst ( $ this -> getInformation ( ) -> labelPlural ( false ) ) , 'label_translated' => $ this -> getInformation ( ) -> labelPluralTranslationKey ( ) , 'type' => MenuPresenceType :: ACTION , 'action' => $ this -> routeHelper -> getRouteNameForModelClass ( $ this -> class , true ) . '.index' , 'parameters' => [ 'home' => true , ] , 'permissions' => [ "models.{$this->getRouteSlug()}.*" , ] , ] ; }
Returns data for CMS menu presence.

@return null|array|MenuPresenceInterface[]|MenuPresenceInterface[]
Returns data for CMS menu presence .