function SearchLocalTask::create
Same name in other branches
- 9 core/modules/search/src/Plugin/Derivative/SearchLocalTask.php \Drupal\search\Plugin\Derivative\SearchLocalTask::create()
- 8.9.x core/modules/search/src/Plugin/Derivative/SearchLocalTask.php \Drupal\search\Plugin\Derivative\SearchLocalTask::create()
- 10 core/modules/search/src/Plugin/Derivative/SearchLocalTask.php \Drupal\search\Plugin\Derivative\SearchLocalTask::create()
Overrides ContainerDeriverInterface::create
File
-
core/
modules/ search/ src/ Plugin/ Derivative/ SearchLocalTask.php, line 35
Class
- SearchLocalTask
- Provides local tasks for each search page.
Namespace
Drupal\search\Plugin\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($container->get('search.search_page_repository'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.