public function ContentBuilderInterface::build in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface::build()
- 8.7 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface::build()
- 8.8 modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface::build()
- 10.3.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface::build()
- 10.0.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface::build()
- 10.1.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface::build()
- 10.2.x modules/social_features/social_content_block/src/ContentBuilderInterface.php \Drupal\social_content_block\ContentBuilderInterface::build()
Lazy builder callback for displaying a content blocks.
Parameters
string $entity_type_id: Entity type id.
int $entity_id: Entity ID.
Return value
array A render array for the action link, empty if the user does not have access.
1 method overrides ContentBuilderInterface::build()
- ContentBuilder::build in modules/
social_features/ social_content_block/ src/ ContentBuilder.php - Lazy builder callback for displaying a content blocks.
File
- modules/
social_features/ social_content_block/ src/ ContentBuilderInterface.php, line 24
Class
- ContentBuilderInterface
- Interface ContentBuilderInterface.
Namespace
Drupal\social_content_blockCode
public function build($entity_type_id, $entity_id);