You are here

public function FlexiformFormEntityManagerDefault::getEntitySettings in Flexiform 7

Get an entities settings from the settings array.

Parameters

string $namespace: The namespace of the required entity settings.

Return value

array Settings for the entity with namespace $namespace.

1 call to FlexiformFormEntityManagerDefault::getEntitySettings()
FlexiformFormEntityManagerDefault::prepareEntity in includes/flexiform.form_entity_manager.inc
Prepare an individual entity.

File

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

Class

FlexiformFormEntityManagerDefault
Class that manages entities in a flexiform.

Code

public function getEntitySettings($namespace) {
  if (isset($this->entitySettings[$namespace])) {
    return $this->entitySettings[$namespace];
  }
  return FALSE;
}