function PageActions::create
Overrides ContainerFactoryPluginInterface::create
File
-
core/
modules/ navigation/ src/ Plugin/ TopBarItem/ PageActions.php, line 30
Class
- PageActions
- Provides the Page Actions basic top bar item.
Namespace
Drupal\navigation\Plugin\TopBarItemCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) : static {
return new static($configuration, $plugin_id, $plugin_definition, $container->get(NavigationRenderer::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.