You are here

public function SiteSettingEntity::setType in Site Settings and Labels 8

File

src/Entity/SiteSettingEntity.php, line 88

Class

SiteSettingEntity
Defines the Site Setting entity.

Namespace

Drupal\site_settings\Entity

Code

public function setType($type) {
  $this
    ->set('type', $type);
  return $this;
}