public static function SearchLocalTask::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/Derivative/SearchLocalTask.php \Drupal\search\Plugin\Derivative\SearchLocalTask::create()
- 9 core/modules/search/src/Plugin/Derivative/SearchLocalTask.php \Drupal\search\Plugin\Derivative\SearchLocalTask::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'));
}