class DevelGenerate
Same name in other branches
- 8.x-1.x devel_generate/src/Annotation/DevelGenerate.php \Drupal\devel_generate\Annotation\DevelGenerate
- 5.x devel_generate/src/Annotation/DevelGenerate.php \Drupal\devel_generate\Annotation\DevelGenerate
Defines a DevelGenerate annotation object.
DevelGenerate handle the bulk creation of entites.
Additional annotation keys for DevelGenerate can be defined in hook_devel_generate_info_alter().
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements \Drupal\Component\Annotation\AnnotationInterface
- class \Drupal\devel_generate\Annotation\DevelGenerate extends \Drupal\Component\Annotation\Plugin
Expanded class hierarchy of DevelGenerate
See also
\Drupal\devel_generate\DevelGeneratePluginManager
\Drupal\devel_generate\DevelGenerateBaseInterface
1 string reference to 'DevelGenerate'
- DevelGenerateForm::submitForm in devel_generate/
src/ Form/ DevelGenerateForm.php - Form submission handler.
7 classes are annotated with DevelGenerate
- ContentDevelGenerate in devel_generate/
src/ Plugin/ DevelGenerate/ ContentDevelGenerate.php - Provides a ContentDevelGenerate plugin.
- ExampleDevelGenerate in devel_generate/
tests/ modules/ devel_generate_example/ src/ Plugin/ DevelGenerate/ ExampleDevelGenerate.php - Provides a ExampleDevelGenerate plugin.
- MediaDevelGenerate in devel_generate/
src/ Plugin/ DevelGenerate/ MediaDevelGenerate.php - Provides a plugin that generates media entities.
- MenuDevelGenerate in devel_generate/
src/ Plugin/ DevelGenerate/ MenuDevelGenerate.php - Provides a MenuDevelGenerate plugin.
- TermDevelGenerate in devel_generate/
src/ Plugin/ DevelGenerate/ TermDevelGenerate.php - Provides a TermDevelGenerate plugin.
File
-
devel_generate/
src/ Annotation/ DevelGenerate.php, line 20
Namespace
Drupal\devel_generate\AnnotationView source
class DevelGenerate extends Plugin {
/**
* The human-readable name of the DevelGenerate type.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* A short description of the DevelGenerate type.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $description;
/**
* A url to access the plugin settings form.
*
* @var string
*/
public $url;
/**
* The permission required to access the plugin settings form.
*
* @var string
*/
public $permission;
/**
* The name of the DevelGenerate class.
*
* This is not provided manually, it will be added by the discovery mechanism.
*
* @var string
*/
public $class;
/**
* An array whose keys are the names of the settings available to the
* DevelGenerate settingsForm, and whose values are the default values for those settings.
*
* @var array
*/
public $settings = [];
/**
* An array whose keys are the settings available to the
* DevelGenerate drush command: "suffix", "alias", "options" and "args".
*
* @var array
*/
public $drushSettings = [];
/**
* Modules that should be enabled in order to make the plugin discoverable.
*
* @var array
*/
public $dependencies = [];
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
DevelGenerate::$class | public | property | The name of the DevelGenerate class. | ||
DevelGenerate::$dependencies | public | property | Modules that should be enabled in order to make the plugin discoverable. | ||
DevelGenerate::$description | public | property | A short description of the DevelGenerate type. | ||
DevelGenerate::$drushSettings | public | property | An array whose keys are the settings available to the DevelGenerate drush command: "suffix", "alias", "options" and "args". |
||
DevelGenerate::$label | public | property | The human-readable name of the DevelGenerate type. | ||
DevelGenerate::$permission | public | property | The permission required to access the plugin settings form. | ||
DevelGenerate::$settings | public | property | An array whose keys are the names of the settings available to the DevelGenerate settingsForm, and whose values are the default values for those settings. |
||
DevelGenerate::$url | public | property | A url to access the plugin settings form. | ||
Plugin::$definition | protected | property | The plugin definition read from the class annotation. | 1 | |
Plugin::get | public | function | Gets the value of an annotation. | Overrides AnnotationInterface::get | 6 |
Plugin::getClass | public | function | Gets the class of the annotated class. | Overrides AnnotationInterface::getClass | 1 |
Plugin::getId | public | function | Gets the unique ID for this annotated class. | Overrides AnnotationInterface::getId | |
Plugin::getProvider | public | function | Gets the name of the provider of the annotated class. | Overrides AnnotationInterface::getProvider | 1 |
Plugin::parse | protected | function | Parses an annotation into its definition. | ||
Plugin::setClass | public | function | Sets the class of the annotated class. | Overrides AnnotationInterface::setClass | 1 |
Plugin::setProvider | public | function | Sets the name of the provider of the annotated class. | Overrides AnnotationInterface::setProvider | |
Plugin::__construct | public | function | Constructs a Plugin object. | 3 |