geolocation-8.x-3.x-dev/src/Annotation/MapFeature.php

src/Annotation/MapFeature.php
<?php

namespace Drupal\geolocation\Annotation;

use Drupal\Component\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;

/**
 * Defines a MapFeature annotation object.
 *
 * @deprecated in geolocation:4.0.0 and is removed from geolocation:4.0.1. Use Attribute instead.
 * @see https://www.drupal.org/project/geolocation/issues/3525013
 *
 * @see \Drupal\geolocation\MapFeatureManager
 * @see plugin_api
 *
 * @Annotation
 */
class MapFeature extends Plugin {

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

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

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

  /**
   * The map type supported by this MapFeature.
   *
   * @var string
   */
  public string $type;

}

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

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