You are here

public function FlexiformDisplayInterface::getBaseEntity in Flexiform 7

Get the base entity for the flexible form.

Parameters

Flexiform $flexiform: A flexiform object.

array $configuration: The configration as stored in the flexiform.

array $context: (optional) An array of settings and values to help the plugin return the entity.

Return value

stdClass|Entity The base entity for the form.

1 method overrides FlexiformDisplayInterface::getBaseEntity()
FlexiformDisplayBase::getBaseEntity in includes/flexiform.display.inc
Get the base entity for a flexiform.

File

includes/flexiform.display.inc, line 26
Specify base display classes for flexiforms.

Class

FlexiformDisplayInterface
Interface for all display classes.

Code

public function getBaseEntity($context = array());