You are here

public function AutoEntityLabelManagerInterface::autoLabelNeeded in Automatic Entity Label 8

Same name and namespace in other branches
  1. 8.3 src/AutoEntityLabelManagerInterface.php \Drupal\auto_entitylabel\AutoEntityLabelManagerInterface::autoLabelNeeded()
  2. 8.2 src/AutoEntityLabelManagerInterface.php \Drupal\auto_entitylabel\AutoEntityLabelManagerInterface::autoLabelNeeded()

Returns whether the automatic label has to be set.

Return value

bool Returns true if the label should be automatically generated.

1 method overrides AutoEntityLabelManagerInterface::autoLabelNeeded()
AutoEntityLabelManager::autoLabelNeeded in src/AutoEntityLabelManager.php
Returns whether the automatic label has to be set.

File

src/AutoEntityLabelManagerInterface.php, line 43

Class

AutoEntityLabelManagerInterface
Provides an interface for AutoEntityLabelManager.

Namespace

Drupal\auto_entitylabel

Code

public function autoLabelNeeded();