You are here

public function OpenlayersLayer::label in Openlayers 8.4

Gets the label of the entity.

Return value

string|null The label of the entity, or NULL if there is no label defined.

Overrides EntityBase::label

File

src/Entity/OpenlayersLayer.php, line 74

Class

OpenlayersLayer
Defines the Openlayers Layer entity.

Namespace

Drupal\openlayers\Entity

Code

public function label() {
  return $this->label;
}