You are here

public function Blocktabs::setName in Block Tabs 8

Sets the name of the blocktabs.

Parameters

string $name: The name of the blocktabs.

Return value

\Drupal\blocktabs\BlocktabsInterface The class instance this method is called on.

Overrides BlocktabsInterface::setName

File

src/Entity/Blocktabs.php, line 178

Class

Blocktabs
Defines a blocktabs configuration entity.

Namespace

Drupal\blocktabs\Entity

Code

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