public function EntityDisplayInterface::getHighestWeight in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php \Drupal\Core\Entity\Display\EntityDisplayInterface::getHighestWeight()
- 9 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\DisplayCode
public function getHighestWeight();