You are here

OpenlayersLayerInterface.php in Openlayers 8.4

Namespace

Drupal\openlayers

File

src/OpenlayersLayerInterface.php
View source
<?php

namespace Drupal\openlayers;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface defining an Openlayers Map entity.
 */
interface OpenlayersLayerInterface extends ConfigEntityInterface {

  // Add get/set methods for your configuration properties here.

  ////////////////////////////////////
  public function id();

  ////////////////////////////////////

  /**
   * Returns the image style.
   *
   * @return string
   *   The name of the image style.
   */
  public function getName();

}

Interfaces

Namesort descending Description
OpenlayersLayerInterface Provides an interface defining an Openlayers Map entity.