public function AllowedLanguagesManagerInterface::isEntityLanguageControlled in Allowed Languages 2.x
Decide whether the entity should be language controlled or not.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity to test.
Return value
bool TRUE if the entity should have permissions applied, FALSE otherwise.
1 method overrides AllowedLanguagesManagerInterface::isEntityLanguageControlled()
- AllowedLanguagesManager::isEntityLanguageControlled in src/
AllowedLanguagesManager.php - Decide whether the entity should be language controlled or not.
File
- src/
AllowedLanguagesManagerInterface.php, line 60
Class
- AllowedLanguagesManagerInterface
- The allowed language manager controls access to content by language.
Namespace
Drupal\allowed_languagesCode
public function isEntityLanguageControlled(EntityInterface $entity);