You are here

protected function FormComponentTypeBase::getApplicableRendererPluginOptions in Flexiform 8

Get applicable renderer plugin options.

By default return array with 'default' as the only key.

Parameters

string $component_name: The component name.

Return value

array The options.

1 call to FormComponentTypeBase::getApplicableRendererPluginOptions()
FormComponentTypeBase::buildComponentRow in src/FormComponent/FormComponentTypeBase.php
Build a component row for a component of this type.
1 method overrides FormComponentTypeBase::getApplicableRendererPluginOptions()
FieldWidgetComponentType::getApplicableRendererPluginOptions in src/Plugin/FormComponentType/FieldWidgetComponentType.php
Get applicable renderer plugin options.

File

src/FormComponent/FormComponentTypeBase.php, line 133

Class

FormComponentTypeBase
Base class for form component types.

Namespace

Drupal\flexiform\FormComponent

Code

protected function getApplicableRendererPluginOptions($component_name) {
  return [
    'default' => t('Default'),
  ];
}