You are here

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

Set Header class.

File

src/Entity/Modal.php, line 792

Class

Modal
Defines the Modal entity.

Namespace

Drupal\modal_page\Entity

Code

public function setHeaderClass($headerClass) {
  $this
    ->set('header_class', $headerClass);
  return $this;
}