public function FlexiformFormEntityManager::getFormEntity in Flexiform 8
Get the form entity at a given namespace.
Parameters
string $namespace: The namespace for the entity to retrieve.
Return value
\Drupal\flexiform\FormEntity\FlexiformFormEntityInterface The form entity for the given namespace.
File
- src/
FormEntity/ FlexiformFormEntityManager.php, line 128
Class
- FlexiformFormEntityManager
- Class for form entity managers.
Namespace
Drupal\flexiform\FormEntityCode
public function getFormEntity($namespace = '') {
return $this
->getFormEntities()[$namespace];
}