You are here

interface ContentBuilderInterface in Open Social 10.2.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
  2. 8.6 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
  3. 8.7 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
  4. 8.8 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
  5. 10.3.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
  6. 10.0.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
  7. 10.1.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface

Interface ContentBuilderInterface.

@package Drupal\social_content_block

Hierarchy

Expanded class hierarchy of ContentBuilderInterface

All classes that implement ContentBuilderInterface

File

modules/social_features/social_content_block/src/ContentBuilderInterface.php, line 10

Namespace

Drupal\social_content_block
View source
interface ContentBuilderInterface {

  /**
   * Lazy builder callback for displaying a content blocks.
   *
   * @param int $entity_id
   *   Entity ID.
   * @param string $entity_type_id
   *   Entity type id.
   * @param string $entity_bundle
   *   The bundle of the entity.
   *
   * @return array
   *   A render array for the action link, empty if the user does not have
   *   access.
   */
  public function build($entity_id, $entity_type_id, $entity_bundle) : array;

}

Members

Namesort descending Modifiers Type Description Overrides
ContentBuilderInterface::build public function Lazy builder callback for displaying a content blocks. 1