You are here

public function Modal::setEnableRightButton in Modal 4.1.x

Same name and namespace in other branches
  1. 4.0.x src/Entity/Modal.php \Drupal\modal_page\Entity\Modal::setEnableRightButton()

Set Enable Right Button.

File

src/Entity/Modal.php, line 495

Class

Modal
Defines the Modal entity.

Namespace

Drupal\modal_page\Entity

Code

public function setEnableRightButton($enableRightButton) {
  $this
    ->set('enable_right_button', $enableRightButton);
  return $this;
}