original_string: 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()}.*",
              ],
          ];
      }
code: 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()}.*",
              ],
          ];
      }
code_tokens: 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()}.*" , ] , ] ; }
docstring: Returns data for CMS menu presence.
  
  @return null|array|MenuPresenceInterface[]|MenuPresenceInterface[]
docstring_tokens: Returns data for CMS menu presence .