public function SimpleMegaMenuInterface::setName in Simple Mega Menu 8
Same name and namespace in other branches
- 2.0.x src/Entity/SimpleMegaMenuInterface.php \Drupal\simple_megamenu\Entity\SimpleMegaMenuInterface::setName()
Sets the Simple mega menu name.
Parameters
string $name: The Simple mega menu name.
Return value
\Drupal\simple_megamenu\Entity\SimpleMegaMenuInterface The called Simple mega menu entity.
1 method overrides SimpleMegaMenuInterface::setName()
- SimpleMegaMenu::setName in src/
Entity/ SimpleMegaMenu.php - Sets the Simple mega menu name.
File
- src/
Entity/ SimpleMegaMenuInterface.php, line 42
Class
- SimpleMegaMenuInterface
- Provides an interface for defining Simple mega menu entities.
Namespace
Drupal\simple_megamenu\EntityCode
public function setName($name);