DevelGenerate.php

Same filename in other branches
  1. 5.x devel_generate/src/Annotation/DevelGenerate.php

Namespace

Drupal\devel_generate\Annotation

File

devel_generate/src/Annotation/DevelGenerate.php

View source
<?php

namespace Drupal\devel_generate\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * 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().
 *
 * @Annotation
 *
 * @see \Drupal\devel_generate\DevelGeneratePluginManager
 * @see \Drupal\devel_generate\DevelGenerateBaseInterface
 */
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 = [];

}

Classes

Title Deprecated Summary
DevelGenerate Defines a DevelGenerate annotation object.