function TestLocalActionWithConfig::create
Same name in other branches
- 9 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalAction/TestLocalActionWithConfig.php \Drupal\menu_test\Plugin\Menu\LocalAction\TestLocalActionWithConfig::create()
- 10 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalAction/TestLocalActionWithConfig.php \Drupal\menu_test\Plugin\Menu\LocalAction\TestLocalActionWithConfig::create()
- 11.x core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalAction/TestLocalActionWithConfig.php \Drupal\menu_test\Plugin\Menu\LocalAction\TestLocalActionWithConfig::create()
Overrides LocalActionDefault::create
File
-
core/
modules/ system/ tests/ modules/ menu_test/ src/ Plugin/ Menu/ LocalAction/ TestLocalActionWithConfig.php, line 51
Class
- TestLocalActionWithConfig
- Defines a test local action plugin class.
Namespace
Drupal\menu_test\Plugin\Menu\LocalActionCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('router.route_provider'), $container->get('config.factory')
->get('menu_test.links.action'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.