You are here

public function LingotekProfileUsageInterface::isUsedByContentSettings in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  2. 4.0.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  3. 3.0.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  4. 3.1.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  5. 3.2.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  6. 3.3.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  7. 3.4.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  8. 3.5.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  9. 3.6.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  10. 3.7.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()
  11. 3.8.x src/LingotekProfileUsageInterface.php \Drupal\lingotek\LingotekProfileUsageInterface::isUsedByContentSettings()

Check if a profile is configured to be used by content entities.

Parameters

\Drupal\lingotek\LingotekProfileInterface $profile: The profile being checked.

Return value

int Bitwise flag. Can include LingotekProfileUsageInterface::USED_BY_SETTINGS or LingotekProfileUsageInterface::UNUSED.

1 method overrides LingotekProfileUsageInterface::isUsedByContentSettings()
LingotekProfileUsage::isUsedByContentSettings in src/LingotekProfileUsage.php
Check if a profile is configured to be used by content entities.

File

src/LingotekProfileUsageInterface.php, line 63

Class

LingotekProfileUsageInterface
Service contract for checking Lingotek profile usage.

Namespace

Drupal\lingotek

Code

public function isUsedByContentSettings(LingotekProfileInterface $profile);