public function Base::getType in Openlayers 7.3
The type of this object.
Return value
string|FALSE The object type or FALSE on failure.
Overrides ObjectInterface::getType
2 calls to Base::getType()
- Base::getId in src/
Types/ Base.php - Return the object unique ID.
- Base::getParents in src/
Types/ Base.php - Returns an array with the maps this object is attached on.
File
- src/
Types/ Base.php, line 470 - Class Object.
Class
- Base
- Class Base.
Namespace
Drupal\openlayers\TypesCode
public function getType() {
$class = explode('\\', get_class($this));
return drupal_strtolower($class[3]);
}