class DevelGenerate in Devel 8
Same name and namespace in other branches
- 8.3 devel_generate/src/Annotation/DevelGenerate.php \Drupal\devel_generate\Annotation\DevelGenerate
- 8.2 devel_generate/src/Annotation/DevelGenerate.php \Drupal\devel_generate\Annotation\DevelGenerate
- 4.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 AnnotationInterface
- class \Drupal\devel_generate\Annotation\DevelGenerate
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.
6 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.
- 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.
- UserDevelGenerate in devel_generate/
src/ Plugin/ DevelGenerate/ UserDevelGenerate.php - Provides a UserDevelGenerate plugin.
File
- devel_generate/
src/ Annotation/ DevelGenerate.php, line 20
Namespace
Drupal\devel_generate\AnnotationView source
class DevelGenerate extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* 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 = array();
/**
* An array whose keys are the settings available to the
* DevelGenerate drush command: "suffix", "alias", "options" and "args".
*
* @var array
*/
public $drushSettings = array();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DevelGenerate:: |
public | property | The name of the DevelGenerate class. | |
DevelGenerate:: |
public | property | A short description of the DevelGenerate type. | |
DevelGenerate:: |
public | property | An array whose keys are the settings available to the DevelGenerate drush command: "suffix", "alias", "options" and "args". | |
DevelGenerate:: |
public | property | The plugin ID. | |
DevelGenerate:: |
public | property | The human-readable name of the DevelGenerate type. | |
DevelGenerate:: |
public | property | The permission required to access the plugin settings form. | |
DevelGenerate:: |
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:: |
public | property | A url to access the plugin settings form. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |