public function ObjectInterface::addObject in Openlayers 7.3
Add an object into the collection of the parent object.
Parameters
\Drupal\openlayers\Types\ObjectInterface $object: The object to add.
Return value
ObjectInterface The parent object.
1 method overrides ObjectInterface::addObject()
- Base::addObject in src/
Types/ Base.php - Add an object into the collection of the parent object.
File
- src/
Types/ ObjectInterface.php, line 335 - Interface ObjectInterface.
Class
- ObjectInterface
- Interface openlayers_object_interface.
Namespace
Drupal\openlayers\TypesCode
public function addObject(ObjectInterface $object);