SearchBlock::$searchPageRepository

Same name in other branches
  1. 9 core/modules/search/src/Plugin/Block/SearchBlock.php \Drupal\search\Plugin\Block\SearchBlock::searchPageRepository
  2. 8.9.x core/modules/search/src/Plugin/Block/SearchBlock.php \Drupal\search\Plugin\Block\SearchBlock::searchPageRepository
  3. 11.x core/modules/search/src/Plugin/Block/SearchBlock.php \Drupal\search\Plugin\Block\SearchBlock::searchPageRepository

The search page repository.

Type: \Drupal\search\SearchPageRepositoryInterface

File

core/modules/search/src/Plugin/Block/SearchBlock.php, line 39

Class

SearchBlock
Provides a 'Search form' block.

Namespace

Drupal\search\Plugin\Block

Code

protected $searchPageRepository;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.