You are here

public function FrameworkInterface::createEntity in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::createEntity()
  2. 7.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::createEntity()

Create an entity.

Parameters

array $info: Associative array which can contain (defaults are the first value): entity_type => node|user|... dummy => FALSE|TRUE.

1 method overrides FrameworkInterface::createEntity()
Framework::createEntity in api/src/Framework/Framework.php
Create an entity.

File

api/src/Framework/FrameworkInterface.php, line 29

Class

FrameworkInterface
Defines and abstracts all functions which are used by our module.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function createEntity(array $info = []);