You are here

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

Gets the Site Setting name.

Return value

string Name of the Site Setting.

Overrides SiteSettingEntityInterface::getName

File

src/Entity/SiteSettingEntity.php, line 96

Class

SiteSettingEntity
Defines the Site Setting entity.

Namespace

Drupal\site_settings\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}