interface ContentBuilderInterface in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
- 8.6 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
- 8.7 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
- 8.8 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
- 10.0.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
- 10.1.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
- 10.2.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface
Interface ContentBuilderInterface.
@package Drupal\social_content_block
Hierarchy
- interface \Drupal\social_content_block\ContentBuilderInterface
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_blockView 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
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContentBuilderInterface:: |
public | function | Lazy builder callback for displaying a content blocks. | 1 |