You are here

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

Gets the Site Setting type.

Return value

string The Site Setting type.

Overrides SiteSettingEntityInterface::getType

File

src/Entity/SiteSettingEntity.php, line 81

Class

SiteSettingEntity
Defines the Site Setting entity.

Namespace

Drupal\site_settings\Entity

Code

public function getType() {
  return $this
    ->bundle();
}