public function DemoContent::setEntityStorage in Open Social 8
Same name and namespace in other branches
- 8.9 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 8.2 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 8.3 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 8.4 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 8.5 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 8.6 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 8.7 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 8.8 modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 10.3.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 10.0.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 10.1.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
- 10.2.x modules/custom/social_demo/src/DemoContent.php \Drupal\social_demo\DemoContent::setEntityStorage()
Set entity storage.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The EntityStorageInterface entity_storage.
Overrides DemoContentInterface::setEntityStorage
File
- modules/
custom/ social_demo/ src/ DemoContent.php, line 116
Class
- DemoContent
- Class DemoContent.
Namespace
Drupal\social_demoCode
public function setEntityStorage(EntityStorageInterface $entity_storage) {
$this->entityStorage = $entity_storage;
}