You are here

public function DemoContentInterface::createContent in Open Social 8

Same name and namespace in other branches
  1. 8.9 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  2. 8.2 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  3. 8.3 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  4. 8.4 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  5. 8.5 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  6. 8.6 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  7. 8.7 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  8. 8.8 modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  9. 10.3.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  10. 10.0.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  11. 10.1.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()
  12. 10.2.x modules/custom/social_demo/src/DemoContentInterface.php \Drupal\social_demo\DemoContentInterface::createContent()

Creates content.

Return value

array An array with list of created entities.

8 methods override DemoContentInterface::createContent()
DemoComment::createContent in modules/custom/social_demo/src/DemoComment.php
Creates content.
DemoEntity::createContent in modules/custom/social_demo/src/DemoEntity.php
Creates content.
DemoFile::createContent in modules/custom/social_demo/src/DemoFile.php
Creates content.
DemoGroup::createContent in modules/custom/social_demo/src/DemoGroup.php
Creates content.
DemoNode::createContent in modules/custom/social_demo/src/DemoNode.php
Creates content.

... See full list

File

modules/custom/social_demo/src/DemoContentInterface.php, line 57

Class

DemoContentInterface
Interface DemoContentInterface.

Namespace

Drupal\social_demo

Code

public function createContent();