public function Base::setId in Openlayers 7.3
Set the object ID.
Parameters
string $id: The object ID.
Return value
ObjectInterface The parent object.
Overrides ObjectInterface::setId
File
- src/
Types/ Base.php, line 564 - Class Object.
Class
- Base
- Class Base.
Namespace
Drupal\openlayers\TypesCode
public function setId($id) {
$this->id = drupal_html_id(drupal_clean_css_identifier($id));
return $this;
}