ContentBuilderInterface.php in Open Social 8.9
Same filename and directory in other branches
- 8.6 modules/social_features/social_content_block/src/ContentBuilderInterface.php
- 8.7 modules/social_features/social_content_block/src/ContentBuilderInterface.php
- 8.8 modules/social_features/social_content_block/src/ContentBuilderInterface.php
- 10.3.x modules/social_features/social_content_block/src/ContentBuilderInterface.php
- 10.0.x modules/social_features/social_content_block/src/ContentBuilderInterface.php
- 10.1.x modules/social_features/social_content_block/src/ContentBuilderInterface.php
- 10.2.x modules/social_features/social_content_block/src/ContentBuilderInterface.php
Namespace
Drupal\social_content_blockFile
modules/social_features/social_content_block/src/ContentBuilderInterface.phpView source
<?php
namespace Drupal\social_content_block;
/**
* Interface ContentBuilderInterface.
*
* @package Drupal\social_content_block
*/
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;
}
Interfaces
Name![]() |
Description |
---|---|
ContentBuilderInterface | Interface ContentBuilderInterface. |