SearchPageFormBase::$entity

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

The entity being used by this form.

Type: \Drupal\search\SearchPageInterface

Overrides EntityForm::$entity

File

core/modules/search/src/Form/SearchPageFormBase.php, line 21

Class

SearchPageFormBase
Provides a base form for search pages.

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.