You are here

public function FlexiformFormEntityManagerDefault::getEntityBundle in Flexiform 7

Get an entities bundle from the settings.

File

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

Class

FlexiformFormEntityManagerDefault
Class that manages entities in a flexiform.

Code

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