You are here

public function OpenlayersLayer::getName in Openlayers 8.4

Returns the image style.

Return value

string The name of the image style.

Overrides OpenlayersLayerInterface::getName

File

src/Entity/OpenlayersLayer.php, line 81

Class

OpenlayersLayer
Defines the Openlayers Layer entity.

Namespace

Drupal\openlayers\Entity

Code

public function getName() {
  return $this
    ->get('name');
}