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\EntityCode
public function getName() {
return $this
->get('name')->value;
}