public function SiteSettingEntityInterface::setName in Site Settings and Labels 8
Sets the Site Setting name.
Parameters
string $name: The Site Setting name.
Return value
\Drupal\site_settings\SiteSettingEntityInterface The called Site Setting entity.
1 method overrides SiteSettingEntityInterface::setName()
- SiteSettingEntity::setName in src/
Entity/ SiteSettingEntity.php - Sets the Site Setting name.
File
- src/
SiteSettingEntityInterface.php, line 43
Class
- SiteSettingEntityInterface
- Provides an interface for defining Site Setting entities.
Namespace
Drupal\site_settingsCode
public function setName($name);