You are here

public function InlineBlockUsageInterface::getUnused in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/InlineBlockUsageInterface.php \Drupal\layout_builder\InlineBlockUsageInterface::getUnused()
  2. 10 core/modules/layout_builder/src/InlineBlockUsageInterface.php \Drupal\layout_builder\InlineBlockUsageInterface::getUnused()

Gets unused inline block IDs.

Parameters

int $limit: The maximum number of block content entity IDs to return.

Return value

int[] The entity IDs.

1 method overrides InlineBlockUsageInterface::getUnused()
InlineBlockUsage::getUnused in core/modules/layout_builder/src/InlineBlockUsage.php
Gets unused inline block IDs.

File

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

Class

InlineBlockUsageInterface
Defines an interface for tracking inline block usage.

Namespace

Drupal\layout_builder

Code

public function getUnused($limit = 100);