SearchPage::getWeight

public SearchPage::getWeight()

Returns the weight for the page.

Return value

int The page weight.

Overrides SearchPageInterface::getWeight

File

core/modules/search/src/Entity/SearchPage.php, line 167

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

public function getWeight() {
  return $this->weight;
}
doc_Drupal
2016-10-29 09:40:20
Comments
Leave a Comment

Please login to continue.