You are here

public static function EntityUsageSourceLevelInterface::isBottomLevel in Entity Usage 8.3

Checks whether an entity is a bottom-level entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity object we are dealing with.

Return value

bool TRUE if the entity passed in is a bottom-level entity, FALSE otherwise.

1 method overrides EntityUsageSourceLevelInterface::isBottomLevel()
EntityUsageSourceLevel::isBottomLevel in src/EntityUsageSourceLevel.php
Checks whether an entity is a bottom-level entity.

File

src/EntityUsageSourceLevelInterface.php, line 43

Class

EntityUsageSourceLevelInterface
Defines the interface for the service managing top-level source entities.

Namespace

Drupal\entity_usage

Code

public static function isBottomLevel(EntityInterface $entity);