Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MenuLinkTreeElement.php

MenuLinkTreeElement::$options

Additional options for this link.

This is merged (\Drupal\Component\Utility\NestedArray::mergeDeep()) with \Drupal\Core\Menu\MenuLinkInterface::getOptions(), to allow menu link tree manipulators to add or override link options.

Type: string[]

File

core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php, line 84

Class

MenuLinkTreeElement
Provides a value object to model an element in a menu link tree.

Namespace

Drupal\Core\Menu

Code

public $options = [];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal