function InlineBlockUsageInterface::getUnused

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.