You are here

class DevelGenerate in Devel 8

Same name and namespace in other branches
  1. 8.3 devel_generate/src/Annotation/DevelGenerate.php \Drupal\devel_generate\Annotation\DevelGenerate
  2. 8.2 devel_generate/src/Annotation/DevelGenerate.php \Drupal\devel_generate\Annotation\DevelGenerate
  3. 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

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.

... 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

Namesort descending Modifiers Type Description Overrides
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.
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 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
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
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
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. 2