You are here

public function FormComponentTypeInterface::getComponent in Flexiform 8

Get a component object.

Parameters

string $name: The name of the component.

array $options: The options for the component.

Return value

\Drupal\flexiform\FormComponent\FormComponentInterface The form component.

1 method overrides FormComponentTypeInterface::getComponent()
FormComponentTypeBase::getComponent in src/FormComponent/FormComponentTypeBase.php
Get a component object.

File

src/FormComponent/FormComponentTypeInterface.php, line 50

Class

FormComponentTypeInterface
Interface for form component type plugins.

Namespace

Drupal\flexiform\FormComponent

Code

public function getComponent($name, array $options);