You are here

public function PopupOnLoad::setName in Popup On Load 8

Sets the Popup On Load name.

Parameters

string $name: The Popup On Load name.

Return value

\Drupal\popup_onload\Entity\PopupOnLoadInterface The called Popup On Load entity.

Overrides PopupOnLoadInterface::setName

File

src/Entity/PopupOnLoad.php, line 80

Class

PopupOnLoad
Defines the Popup On Load entity.

Namespace

Drupal\popup_onload\Entity

Code

public function setName($name) {
  $this
    ->set('name', $name);
  return $this;
}