public function MenuPositionRule::label in Menu Position 8
Gets the label of the entity.
Return value
string|null The label of the entity, or NULL if there is no label defined.
Overrides EntityBase::label
File
- src/
Entity/ MenuPositionRule.php, line 141
Class
- MenuPositionRule
- Defines the MenuPositionRule entity.
Namespace
Drupal\menu_position\EntityCode
public function label() {
return $this->label;
}