You are here

public function Base::getDescription in Openlayers 7.3

Return the description of the object.

Return value

string

Overrides ObjectInterface::getDescription

File

src/Types/Base.php, line 126
Class Object.

Class

Base
Class Base.

Namespace

Drupal\openlayers\Types

Code

public function getDescription() {
  $configuration = $this
    ->getConfiguration();
  if (isset($configuration['description'])) {
    return check_plain($configuration['description']);
  }
  else {
    return 'undefined';
  }
}