You are here

public function OpenlayersMap::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/OpenlayersMap.php, line 112

Class

OpenlayersMap
Defines the Openlayers Map entity.

Namespace

Drupal\openlayers\Entity

Code

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