commands-1.x-dev/src/Annotation/Command.php

src/Annotation/Command.php
<?php

namespace Drupal\commands\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines command annotation object.
 *
 * @Annotation
 */
class Command extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $title;

  /**
   * The description of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

  /**
   * The command to run.
   *
   * @var string
   */
  public $command;

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc