You are here

public function FlexiformFormEntityManagerInterface::getEntity in Flexiform 7

Get an entity from the set.

This method will prepare the entity if it has not already been prepared.

Parameters

string $namespace: The namespace of the required entity.

Return value

Entity|stdClass The prepared entity object.

1 method overrides FlexiformFormEntityManagerInterface::getEntity()
FlexiformFormEntityManagerDefault::getEntity in includes/flexiform.form_entity_manager.inc
Get an entity from the set.

File

includes/flexiform.form_entity_manager.inc, line 64
Contains the default entity manager for flexiforms.

Class

FlexiformFormEntityManagerInterface
Interface for form entities.

Code

public function getEntity($namespace);