openlayers-8.x-4.x-dev/src/Plugin/Style/Cluster/Cluster.php

src/Plugin/Style/Cluster/Cluster.php
<?php

namespace Drupal\openlayers\Plugin\Style\Cluster;

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

/**
 * FIX - Insert short comment here.
 *
 * @OpenlayersPlugin(
 *   id = "ol_style_cluster",
 *   label = @Translation("Cluster"),
 *   description = @Translation("TODO..."),
 *   service = "openlayers.Style:Cluster",
 *   library = "openlayers-plugin-style-cluster",
 *   is_configurable = "false",
 *   type = "style"
 * )
 */
class Cluster extends Style {
  // FIX: Provide options to let user customize the cluster style.
  /**
   * {@inheritdoc}
   */
  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
    return $form;
  }

}

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

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