function EntityDisplayInterface::getHighestWeight

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php \Drupal\Core\Entity\Display\EntityDisplayInterface::getHighestWeight()
  2. 8.9.x core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php \Drupal\Core\Entity\Display\EntityDisplayInterface::getHighestWeight()
  3. 11.x core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php \Drupal\Core\Entity\Display\EntityDisplayInterface::getHighestWeight()

Gets the highest weight of the components in the display.

Return value

int|null The highest weight of the components in the display, or NULL if the display is empty.

1 method overrides EntityDisplayInterface::getHighestWeight()
EntityDisplayBase::getHighestWeight in core/lib/Drupal/Core/Entity/EntityDisplayBase.php
Gets the highest weight of the components in the display.

File

core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 76

Class

EntityDisplayInterface
Provides a common interface for entity displays.

Namespace

Drupal\Core\Entity\Display

Code

public function getHighestWeight();

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