interface FlexiformFormEntityInterface in Flexiform 8
Interface for form entity plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\Component\Plugin\ContextAwarePluginInterface
- interface \Drupal\Core\Plugin\ContextAwarePluginInterface
- interface \Drupal\flexiform\FormEntity\FlexiformFormEntityInterface
- interface \Drupal\Core\Plugin\ContextAwarePluginInterface
- interface \Drupal\Component\Plugin\ContextAwarePluginInterface
Expanded class hierarchy of FlexiformFormEntityInterface
All classes that implement FlexiformFormEntityInterface
2 files declare their use of FlexiformFormEntityInterface
- flexiform.api.php in ./
flexiform.api.php - Hooks specific to flexiform.
- FormEntityBaseForm.php in src/
Form/ FormEntityBaseForm.php
File
- src/
FormEntity/ FlexiformFormEntityInterface.php, line 11
Namespace
Drupal\flexiform\FormEntityView source
interface FlexiformFormEntityInterface extends ContextAwarePluginInterface {
/**
* Get the context.
*
* @return \Drupal\Core\Plugin\Context\ContextInterface
* The form entity context.
*/
public function getFormEntityContext();
/**
* Get the context definition.
*/
public function getFormEntityContextDefinition();
/**
* Get the label for this plugin.
*/
public function getLabel();
/**
* Get the entity type.
*/
public function getEntityType();
/**
* Get the bundle.
*/
public function getBundle();
/**
* Prepare a configuration form.
*/
public function configurationForm(array $form, FormStateInterface $form_state);
/**
* Validate the configuration form.
*/
public function configurationFormValidate(array $form, FormStateInterface $form_state);
/**
* Submit the configuration form.
*/
public function configurationFormSubmit(array $form, FormStateInterface $form_state);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContextAwarePluginInterface:: |
public | function | Gets a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function |
Gets a specific context definition of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function |
Gets the context definitions of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function | Gets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the values for all defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Set a context on this plugin. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Validates the set values for the defined contexts. | 1 |
FlexiformFormEntityInterface:: |
public | function | Prepare a configuration form. | 1 |
FlexiformFormEntityInterface:: |
public | function | Submit the configuration form. | 1 |
FlexiformFormEntityInterface:: |
public | function | Validate the configuration form. | 1 |
FlexiformFormEntityInterface:: |
public | function | Get the bundle. | 1 |
FlexiformFormEntityInterface:: |
public | function | Get the entity type. | 1 |
FlexiformFormEntityInterface:: |
public | function | Get the context. | 1 |
FlexiformFormEntityInterface:: |
public | function | Get the context definition. | 1 |
FlexiformFormEntityInterface:: |
public | function | Get the label for this plugin. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |