class DevelGenerate

Same name in other branches
  1. 4.x devel_generate/src/Annotation/DevelGenerate.php \Drupal\devel_generate\Annotation\DevelGenerate
  2. 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\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
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.

... See full list

File

devel_generate/src/Annotation/DevelGenerate.php, line 20

Namespace

Drupal\devel_generate\Annotation
View 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

Title Sort descending Modifiers Object type Summary
DevelGenerate::$class public property The name of the DevelGenerate class.
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::$id public property The plugin ID.
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.