Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InlineBlockUsageInterface.php

function InlineBlockUsageInterface::getUsage

Gets usage record for inline block by ID.

Parameters

int $block_content_id: The block content entity ID.

Return value

object|false The usage record with properties layout_entity_id and layout_entity_type or FALSE if there is no usage.

File

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

Class

InlineBlockUsageInterface
Defines an interface for tracking inline block usage.

Namespace

Drupal\layout_builder

Code

public function getUsage($block_content_id);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal