class WebformSubmissionDevelGenerateDeprecated in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/DevelGenerate/WebformSubmissionDevelGenerateDeprecated.php \Drupal\webform\Plugin\DevelGenerate\WebformSubmissionDevelGenerateDeprecated
Provides a WebformSubmissionDevelGenerate deprecated plugin.
Use deprecated generator because the devel_generate.module changed the DevelGenerateBaseInterface.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
- class \Drupal\devel_generate\DevelGenerateBase implements DevelGenerateBaseInterface
- class \Drupal\webform\Plugin\DevelGenerate\WebformSubmissionDevelGenerateDeprecated implements ContainerFactoryPluginInterface uses WebformSubmissionDevelGenerateTrait
- class \Drupal\devel_generate\DevelGenerateBase implements DevelGenerateBaseInterface
- class \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, MessengerTrait, StringTranslationTrait
Expanded class hierarchy of WebformSubmissionDevelGenerateDeprecated
See also
https://www.drupal.org/project/webform/issues/3155654
https://gitlab.com/drupalspoons/devel/-/issues/324
File
- src/
Plugin/ DevelGenerate/ WebformSubmissionDevelGenerateDeprecated.php, line 17
Namespace
Drupal\webform\Plugin\DevelGenerateView source
class WebformSubmissionDevelGenerateDeprecated extends DevelGenerateBase implements ContainerFactoryPluginInterface {
use WebformSubmissionDevelGenerateTrait;
/**
* {@inheritdoc}
*/
public function validateDrushParams($args) {
return $this
->_validateDrushParams($args);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DependencySerializationTrait:: |
protected | property | ||
DependencySerializationTrait:: |
protected | property | ||
DependencySerializationTrait:: |
public | function | 2 | |
DependencySerializationTrait:: |
public | function | 2 | |
DevelGenerateBase:: |
protected | property | The random data generator. | |
DevelGenerateBase:: |
protected | property | The plugin settings. | |
DevelGenerateBase:: |
public | function |
Execute the instructions in common for all DevelGenerate plugin. Overrides DevelGenerateBaseInterface:: |
|
DevelGenerateBase:: |
public | function |
Returns the default settings for the plugin. Overrides DevelGenerateBaseInterface:: |
|
DevelGenerateBase:: |
protected | function | Gets the entity type manager service. | |
DevelGenerateBase:: |
protected | function | Return a language code. | 1 |
DevelGenerateBase:: |
protected | function | Creates the language and translation section of the form. | |
DevelGenerateBase:: |
protected | function | Returns the random data generator. | |
DevelGenerateBase:: |
public | function |
Returns the array of settings, including defaults for missing settings. Overrides DevelGenerateBaseInterface:: |
|
DevelGenerateBase:: |
public | function |
Returns the current settings for the plugin. Overrides DevelGenerateBaseInterface:: |
|
DevelGenerateBase:: |
public | function | ||
DevelGenerateBase:: |
public static | function | Check if a given param is a number. | |
DevelGenerateBase:: |
public static | function | Populate the fields on a given entity with sample values. | |
DevelGenerateBase:: |
protected | function | Generates a random sentence of specific length. | |
DevelGenerateBase:: |
protected | function | Set a message for either drush or the web interface. | |
DevelGenerateBase:: |
public | function |
Form validation handler. Overrides DevelGenerateBaseInterface:: |
2 |
MessengerTrait:: |
public | function | Gets the messenger. | 27 |
MessengerTrait:: |
public | function | Sets the messenger. | |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
2 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 98 |
StringTranslationTrait:: |
protected | property | The string translation service. | 4 |
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. | |
WebformEntityStorageTrait:: |
protected | property | An associate array of entity type storage aliases. | |
WebformEntityStorageTrait:: |
protected | function | Retrieves the entity storage. | |
WebformEntityStorageTrait:: |
protected | function | Retrieves the webform submission storage. | |
WebformEntityStorageTrait:: |
protected | function | Retrieves the webform storage. | |
WebformEntityStorageTrait:: |
public | function | Implements the magic __get() method. | |
WebformSubmissionDevelGenerateDeprecated:: |
public | function |
Responsible for validating Drush params. Overrides DevelGenerateBaseInterface:: |
|
WebformSubmissionDevelGenerateTrait:: |
protected | property | The database object. | |
WebformSubmissionDevelGenerateTrait:: |
protected | property |
The entity type manager. Overrides WebformEntityStorageTrait:: |
|
WebformSubmissionDevelGenerateTrait:: |
protected static | property | Track in webform submission are being generated. | |
WebformSubmissionDevelGenerateTrait:: |
protected | property | The messenger. | |
WebformSubmissionDevelGenerateTrait:: |
protected | property | The current request. | |
WebformSubmissionDevelGenerateTrait:: |
protected | property | The time service. | |
WebformSubmissionDevelGenerateTrait:: |
protected | property | The webform entity reference manager. | |
WebformSubmissionDevelGenerateTrait:: |
protected | property | The webform submission generation service. | |
WebformSubmissionDevelGenerateTrait:: |
public static | function | ||
WebformSubmissionDevelGenerateTrait:: |
protected | function | Deletes all submissions of given webforms. | |
WebformSubmissionDevelGenerateTrait:: |
public | function | ||
WebformSubmissionDevelGenerateTrait:: |
protected | function | Create one node. Used by both batch and non-batch code branches. | |
WebformSubmissionDevelGenerateTrait:: |
protected | function | Generates submissions for a list of given webforms. | |
WebformSubmissionDevelGenerateTrait:: |
protected | function | Retrieve 50 uids from the database. | |
WebformSubmissionDevelGenerateTrait:: |
protected | function | Add 'users' that contains a list of uids. | |
WebformSubmissionDevelGenerateTrait:: |
public static | function | Track if webform submissions are being generated. | |
WebformSubmissionDevelGenerateTrait:: |
public | function | ||
WebformSubmissionDevelGenerateTrait:: |
protected | function | Validate webform source entity type and id. | |
WebformSubmissionDevelGenerateTrait:: |
public | function | Custom validation handler. | |
WebformSubmissionDevelGenerateTrait:: |
public | function |