Returns 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.
File
- drupal/core/modules/entity/lib/Drupal/entity/EntityDisplayBaseInterface.php, line 82
- Contains \Drupal\entity\Plugin\Core\Entity\EntityDisplayBaseInterface.
Class
- EntityDisplayBaseInterface
- Provides an interface defining an entity display entity.
Namespace
Drupal\entity
Code
public function getHighestWeight();