function InlineBlockUsageInterface::getUnused
Same name in other branches
- 8.9.x core/modules/layout_builder/src/InlineBlockUsageInterface.php \Drupal\layout_builder\InlineBlockUsageInterface::getUnused()
- 10 core/modules/layout_builder/src/InlineBlockUsageInterface.php \Drupal\layout_builder\InlineBlockUsageInterface::getUnused()
- 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_builderCode
public function getUnused($limit = 100);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.