openlayers-8.x-4.x-dev/src/Plugin/Layer/Image/Image.php

src/Plugin/Layer/Image/Image.php
<?php

namespace Drupal\openlayers\Plugin\Layer\Image;

use Drupal\Core\Form\FormStateInterface;
use Drupal\openlayers\Types\Layer;

/**
 * FIX - Insert short comment here.
 *
 * @OpenlayersPlugin(
 *   id = "ol_layer_image",
 *   label = @Translation("Image"),
 *   description = @Translation("An image layer."),
 *   service = "openlayers.Layer:Image",
 *   library = "openlayers-plugin-layer-image",
 *   is_configurable = "true",
 *   type = "layer"
 * )
 */
class Image extends Layer {

  /**
   * {@inheritdoc}
   */
  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
    return $form;
  }

}

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

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