You are here

public function LingotekProfileUsageInterface::isUsedByContent in Lingotek Translation 3.5.x

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

Check if a profile is used by content entities.

Parameters

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

Return value

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

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

File

src/LingotekProfileUsageInterface.php, line 42

Class

LingotekProfileUsageInterface
Service contract for checking Lingotek profile usage.

Namespace

Drupal\lingotek

Code

public function isUsedByContent(LingotekProfileInterface $profile);