public EntityDisplayBase::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.
Overrides EntityDisplayInterface::getHighestWeight
File
core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 358
Class
EntityDisplayBase Provides a common base class for entity view and form displays.
Namespace
Drupal\Core\Entity
Code
public function getHighestWeight() {
$