openlayers-8.x-4.x-dev/src/Plugin/Interaction/DragZoom/DragZoom.php

src/Plugin/Interaction/DragZoom/DragZoom.php
<?php

namespace Drupal\openlayers\Plugin\Interaction\DragZoom;

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

/**
 * FIX - Insert short comment here.
 *
 * @OpenlayersPlugin(
 *   id = "ol_interaction_dragzoom",
 *   label = @Translation("Drag Zoom"),
 *   description =
 *     @Translation("Allows the user to zoom the map by clicking and dragging on the map
 *     when the [ALT] and [SHIFT] keys are held down."),
 *   service = "openlayers.Interaction:DragZoom",
 *   library = "openlayers-plugin-interaction-dragzoom",
 *   is_configurable = "true",
 *   type = "interaction"
 * )
 */
class DragZoom extends Interaction {

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

}

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

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