Provides a common base implementation of a contextual link.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\Core\Menu\ContextualLinkDefault implements ContextualLinkInterface
File
- core/lib/Drupal/Core/Menu/ContextualLinkDefault.php, line 11
Namespace
Drupal\Core\Menu
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ContextualLinkDefault::getGroup | public | function | Returns the group this contextual link should be rendered in. Overrides ContextualLinkInterface::getGroup |
ContextualLinkDefault::getOptions | public | function | Returns the link options passed to the link generator. Overrides ContextualLinkInterface::getOptions |
ContextualLinkDefault::getRouteName | public | function | Returns the route name of the contextual link. Overrides ContextualLinkInterface::getRouteName |
ContextualLinkDefault::getTitle | public | function | Returns the localized title to be shown for this contextual link. Overrides ContextualLinkInterface::getTitle |
ContextualLinkDefault::getWeight | public | function | Returns the weight of the contextual link. Overrides ContextualLinkInterface::getWeight |
PluginBase::$configuration | protected | property | Configuration information passed into the plugin. |
PluginBase::$pluginDefinition | protected | property | The plugin implementation definition. |
PluginBase::$pluginId | protected | property | The plugin_id. |
PluginBase::DERIVATIVE_SEPARATOR | constant | A string which is used to separate base plugin IDs from the derivative ID. | |
PluginBase::getBaseId | public | function | Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId |
PluginBase::getDerivativeId | public | function | Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId |
PluginBase::getPluginDefinition | public | function | Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition |
PluginBase::getPluginId | public | function | Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId |
PluginBase::__construct | public | function | Constructs a Drupal\Component\Plugin\PluginBase object. |
Please login to continue.