You are here

public function InlineBlockUsageInterface::removeByLayoutEntity in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/InlineBlockUsageInterface.php \Drupal\layout_builder\InlineBlockUsageInterface::removeByLayoutEntity()

Remove usage record by layout entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The layout entity.

1 method overrides InlineBlockUsageInterface::removeByLayoutEntity()
InlineBlockUsage::removeByLayoutEntity in core/modules/layout_builder/src/InlineBlockUsage.php
Remove usage record by layout entity.

File

core/modules/layout_builder/src/InlineBlockUsageInterface.php, line 39

Class

InlineBlockUsageInterface
Defines an interface for tracking inline block usage.

Namespace

Drupal\layout_builder

Code

public function removeByLayoutEntity(EntityInterface $entity);