You are here

LeafletTileLayerPlugin.php in Geofield Map 8

Same filename and directory in other branches
  1. 8.2 src/Annotation/LeafletTileLayerPlugin.php

File

src/Annotation/LeafletTileLayerPlugin.php
View source
<?php

namespace Drupal\geofield_map\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a LeafletTileLayerPlugin item annotation object.
 *
 * @see \Drupal\geofield_map\leafletTileLayers\LeafletTileLayerPluginManager
 * @see plugin_api
 *
 * @Annotation
 */
class LeafletTileLayerPlugin extends Plugin {

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

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

  /**
   * The url of the Leaflet Tile Layer.
   *
   * @var string
   */
  public $url;

  /**
   * The options array for the Leaflet Tile Layer plugin.
   *
   * @var array
   */
  public $options = [];

}

Classes

Namesort descending Description
LeafletTileLayerPlugin Defines a LeafletTileLayerPlugin item annotation object.