function SearchPageInterface::getWeight

Same name in other branches
  1. 8.9.x core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getWeight()
  2. 10 core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getWeight()
  3. 11.x core/modules/search/src/SearchPageInterface.php \Drupal\search\SearchPageInterface::getWeight()

Returns the weight for the page.

Return value

int The page weight.

1 method overrides SearchPageInterface::getWeight()
SearchPage::getWeight in core/modules/search/src/Entity/SearchPage.php
Returns the weight for the page.

File

core/modules/search/src/SearchPageInterface.php, line 58

Class

SearchPageInterface
Provides an interface defining a search page entity.

Namespace

Drupal\search

Code

public function getWeight();

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