public function AutoEntityLabelManagerInterface::hasOptionalAutoLabel in Automatic Entity Label 8
Same name and namespace in other branches
- 8.3 src/AutoEntityLabelManagerInterface.php \Drupal\auto_entitylabel\AutoEntityLabelManagerInterface::hasOptionalAutoLabel()
- 8.2 src/AutoEntityLabelManagerInterface.php \Drupal\auto_entitylabel\AutoEntityLabelManagerInterface::hasOptionalAutoLabel()
Determines if the entity bundle has an optional automatic label.
Optional means that if the label is empty, it will be automatically generated.
Return value
bool True if the entity bundle has an optional automatic label.
1 method overrides AutoEntityLabelManagerInterface::hasOptionalAutoLabel()
- AutoEntityLabelManager::hasOptionalAutoLabel in src/
AutoEntityLabelManager.php - Determines if the entity bundle has an optional automatic label.
File
- src/
AutoEntityLabelManagerInterface.php, line 35
Class
- AutoEntityLabelManagerInterface
- Provides an interface for AutoEntityLabelManager.
Namespace
Drupal\auto_entitylabelCode
public function hasOptionalAutoLabel();