public function Collection::delete in Openlayers 7.3
Remove object from this collection.
Parameters
ObjectInterface $object: Object instance to remove from this collection.
File
- src/
Types/ Collection.php, line 95 - Class Collection.
Class
- Collection
- Class Collection.
Namespace
Drupal\openlayers\TypesCode
public function delete(ObjectInterface $object) {
unset($this->objects[$object
->getType() . '_' . $object
->getMachineName()]);
}