public function BadgeInterface::setName in User Badges 8
Sets the Badge name.
Parameters
string $name: The Badge name.
Return value
\Drupal\user_badges\BadgeInterface The called Badge entity.
1 method overrides BadgeInterface::setName()
- Badge::setName in src/
Entity/ Badge.php - Sets the Badge name.
File
- src/
BadgeInterface.php, line 45 - Contains \Drupal\user_badges\BadgeInterface.
Class
- BadgeInterface
- Provides an interface for defining Badge entities.
Namespace
Drupal\user_badgesCode
public function setName($name);