public function Error::getMessage in Openlayers 7.3
1 call to Error::getMessage()
- Error::init in src/
Types/ Error.php - Initializes the object.
File
- src/
Types/ Error.php, line 77 - Contains class Error.
Class
- Error
- Class Error.
Namespace
Drupal\openlayers\TypesCode
public function getMessage() {
$machine_name = $this
->getMachineName();
$service = $this
->getFactoryService() ? $this
->getFactoryService() : t('undefined');
$type = isset($this->configuration['type']) ? $this->configuration['type'] : 'undefined';
return t($this->errorMessage, array(
'@machine_name' => $machine_name,
'@service' => $service,
'@type' => $type,
));
}