SearchPageForm::$entity

Same name in other branches
  1. 9 core/modules/search/src/Form/SearchPageForm.php \Drupal\search\Form\SearchPageForm::entity
  2. 10 core/modules/search/src/Form/SearchPageForm.php \Drupal\search\Form\SearchPageForm::entity
  3. 11.x core/modules/search/src/Form/SearchPageForm.php \Drupal\search\Form\SearchPageForm::entity

The search page entity.

Type: \Drupal\search\SearchPageInterface

File

core/modules/search/src/Form/SearchPageForm.php, line 28

Class

SearchPageForm
Provides a search form for site wide search.

Namespace

Drupal\search\Form

Code

protected $entity;

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