public function Base::getName in Openlayers 7.3
Return the human name of the object.
Return value
string
Overrides ObjectInterface::getName
File
- src/
Types/ Base.php, line 113 - Class Object.
Class
- Base
- Class Base.
Namespace
Drupal\openlayers\TypesCode
public function getName() {
$configuration = $this
->getConfiguration();
if (isset($configuration['name'])) {
return check_plain($configuration['name']);
}
else {
return 'undefined';
}
}