public function Modal::setId in Modal 5.0.x
Same name and namespace in other branches
- 4.0.x src/Entity/Modal.php \Drupal\modal_page\Entity\Modal::setId()
- 4.1.x src/Entity/Modal.php \Drupal\modal_page\Entity\Modal::setId()
Set Id.
Overrides ModalInterface::setId
File
- src/
Entity/ Modal.php, line 216
Class
- Modal
- Defines the Modal entity.
Namespace
Drupal\modal_page\EntityCode
public function setId($id) {
$this
->set('id', $id);
return $this;
}