protected property ContextualLinkManager::$defaults in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Menu/ContextualLinkManager.php \Drupal\Core\Menu\ContextualLinkManager::defaults
Provides default values for a contextual link definition.
Type: array
Overrides DefaultPluginManager::$defaults
File
- core/
lib/ Drupal/ Core/ Menu/ ContextualLinkManager.php, line 35 - Contains \Drupal\Core\Menu\ContextualLinkManager.
Class
- ContextualLinkManager
- Defines a contextual link plugin manager to deal with contextual links.
Namespace
Drupal\Core\MenuCode
protected $defaults = array(
// (required) The name of the route to link to.
'route_name' => '',
// (required) The contextual links group.
'group' => '',
// The static title text for the link.
'title' => '',
// The default link options.
'options' => array(),
// The weight of the link.
'weight' => NULL,
// Default class for contextual link implementations.
'class' => '\\Drupal\\Core\\Menu\\ContextualLinkDefault',
// The plugin id. Set by the plugin system based on the top-level YAML key.
'id' => '',
);