public function FlexiformFormEntityManager::__construct in Flexiform 8
Construct a new FlexiformFormEntityManager.
Parameters
\Drupal\flexiform\FlexiformEntityFormDisplayInterface $form_display: The form display to manage the entities for.
\Drupal\Core\Entity\FieldableEntityInterface[] $provided: Array of provided entities keyed by namespace.
File
- src/
FormEntity/ FlexiformFormEntityManager.php, line 49
Class
- FlexiformFormEntityManager
- Class for form entity managers.
Namespace
Drupal\flexiform\FormEntityCode
public function __construct(FlexiformEntityFormDisplayInterface $form_display, array $provided = []) {
$this->formDisplay = $form_display;
$this
->initFormEntities($provided);
}