address_suggestion-1.0.3/src/Annotation/AddressProvider.php

src/Annotation/AddressProvider.php
<?php

namespace Drupal\address_suggestion\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an Address provider item annotation object.
 *
 * @see \Drupal\address_suggestion\AddressProviderManager
 * @see plugin_api
 *
 * @Annotation
 */
class AddressProvider extends Plugin {

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

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

  /**
   * The endpoint API of the plugin.
   *
   * @var string
   */
  public $api;

  /**
   * Does the API need key.
   *
   * @var bool
   */
  public $nokey;

  /**
   * Does the API use plugin authentication.
   *
   * @var bool
   */
  public $login;

}

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

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