You are here

public function Modal::setDisplayButtonXclose 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::setDisplayButtonXclose()

Set Display Button X close.

File

src/Entity/Modal.php, line 735

Class

Modal
Defines the Modal entity.

Namespace

Drupal\modal_page\Entity

Code

public function setDisplayButtonXclose($displayButtonXclose) {
  $this
    ->set('display_button_x_close', $displayButtonXclose);
  return $this;
}