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

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

namespace Drupal\openlayers\Plugin\Interaction\KeyboardZoom;

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

/**
 * FIX - Insert short comment here.
 *
 * @OpenlayersPlugin(
 *   id = "ol_interaction_keyboardzoom",
 *   label = @Translation("Keyboard Zoom"),
 *   description = @Translation("Allows the user to zoom the map using keyboard [+] and [-]."),
 *   service = "openlayers.Interaction:KeyboardZoom",
 *   library = "openlayers-plugin-interaction-keyboardzoom",
 *   is_configurable = "true",
 *   type = "interaction"
 * )
 */
class KeyboardZoom extends Interaction {

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

}

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

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