You are here

public function FlexiformBuilderFlexiform::getFormEntity in Flexiform 7

Get a form entity.

Parameters

$namespace: The namespace of the entity required.

Return value

The entity with that namespace.

Overrides FlexiformBuilder::getFormEntity

3 calls to FlexiformBuilderFlexiform::getFormEntity()
FlexiformBuilderFlexiform::form in includes/builder/flexiform.builder.inc
Build the form for this flexiform.
FlexiformBuilderFlexiform::formSubmit in includes/builder/flexiform.builder.inc
Submit the form.
FlexiformBuilderFlexiform::formValidate in includes/builder/flexiform.builder.inc
Validate the input for the form.

File

includes/builder/flexiform.builder.inc, line 62
Contains the FlexiformBuilderFlexiform Class

Class

FlexiformBuilderFlexiform
Flexiform Builder Class for the complex flexiforms.

Code

public function getFormEntity($namespace, &$state = array()) {
  return $this
    ->getEntityManager($state)
    ->getEntity($namespace);
}