abstract class WorkflowTypeConfigureFormBase in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php \Drupal\workflows\Plugin\WorkflowTypeConfigureFormBase
- 10 core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php \Drupal\workflows\Plugin\WorkflowTypeConfigureFormBase
A base class for workflow type configuration forms.
Hierarchy
- class \Drupal\workflows\Plugin\WorkflowTypeConfigureFormBase implements PluginAwareInterface, PluginFormInterface uses StringTranslationTrait
Expanded class hierarchy of WorkflowTypeConfigureFormBase
2 files declare their use of WorkflowTypeConfigureFormBase
- ComplexTestTypeConfigureForm.php in core/
modules/ workflows/ tests/ modules/ workflow_type_test/ src/ Form/ ComplexTestTypeConfigureForm.php - ContentModerationConfigureForm.php in core/
modules/ content_moderation/ src/ Form/ ContentModerationConfigureForm.php
File
- core/
modules/ workflows/ src/ Plugin/ WorkflowTypeConfigureFormBase.php, line 14
Namespace
Drupal\workflows\PluginView source
abstract class WorkflowTypeConfigureFormBase implements PluginFormInterface, PluginAwareInterface {
use StringTranslationTrait;
/**
* The workflow type.
*
* @var \Drupal\workflows\WorkflowTypeInterface
*/
protected $workflowType;
/**
* {@inheritdoc}
*/
public function setPlugin(PluginInspectionInterface $plugin) {
$this->workflowType = $plugin;
}
/**
* {@inheritdoc}
*/
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. | |
WorkflowTypeConfigureFormBase:: |
protected | property | The workflow type. | |
WorkflowTypeConfigureFormBase:: |
public | function |
Sets the plugin for this object. Overrides PluginAwareInterface:: |
|
WorkflowTypeConfigureFormBase:: |
public | function |
Form validation handler. Overrides PluginFormInterface:: |