You are here

public function Modal::setTopRightButtonLabel in Modal 4.0.x

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

Set Top Right Button Label.

File

src/Entity/Modal.php, line 732

Class

Modal
Defines the Modal entity.

Namespace

Drupal\modal_page\Entity

Code

public function setTopRightButtonLabel($topRightButtonLabel) {
  $this
    ->set('top_right_button_label', $topRightButtonLabel);
  return $this;
}