protected static function SocialContentBlockOverride::getBlockContent in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_content_block/src/SocialContentBlockOverride.php \Drupal\social_content_block\SocialContentBlockOverride::getBlockContent()
- 10.0.x modules/social_features/social_content_block/src/SocialContentBlockOverride.php \Drupal\social_content_block\SocialContentBlockOverride::getBlockContent()
- 10.2.x modules/social_features/social_content_block/src/SocialContentBlockOverride.php \Drupal\social_content_block\SocialContentBlockOverride::getBlockContent()
Load the config pages that exist.
Use a static method instead of dependency injection to avoid circular dependencies.
Return value
\Drupal\Core\Entity\EntityStorageInterface Keyed array of block_content.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
1 call to SocialContentBlockOverride::getBlockContent()
- SocialContentBlockOverride::loadOverrides in modules/
social_features/ social_content_block/ src/ SocialContentBlockOverride.php - Load overrides.
File
- modules/
social_features/ social_content_block/ src/ SocialContentBlockOverride.php, line 172
Class
- SocialContentBlockOverride
- Class SocialContentBlockOverride.
Namespace
Drupal\social_content_blockCode
protected static function getBlockContent() {
return \Drupal::entityTypeManager()
->getStorage('block_content');
}