public function RoleWatchdog::getName in Role Watchdog 8
Gets the Role Watchdog name.
Return value
string Name of the Role Watchdog.
Overrides RoleWatchdogInterface::getName
File
- src/
Entity/ RoleWatchdog.php, line 79
Class
- RoleWatchdog
- Defines the Role Watchdog entity.
Namespace
Drupal\role_watchdog\EntityCode
public function getName() {
return $this
->get('name')->value;
}