You are here

public function LingotekConfigurationServiceInterface::getConfigEntityDefaultProfileId in Lingotek Translation 8

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

Determines the default Lingotek profile for the given config entity type.

@returns string The profile id.

Parameters

string $plugin_id: The type of the entity.

bool $provide_default: If TRUE, and the entity does not have a profile, will retrieve the default for this entity type and bundle. Defaults to TRUE.

1 method overrides LingotekConfigurationServiceInterface::getConfigEntityDefaultProfileId()
LingotekConfigurationService::getConfigEntityDefaultProfileId in src/LingotekConfigurationService.php
Determines the default Lingotek profile for the given config entity type.

File

src/LingotekConfigurationServiceInterface.php, line 84
Contains \Drupal\lingotek\LingotekConfigurationServiceInterface

Class

LingotekConfigurationServiceInterface
Defines service for accessing the Lingotek configuration.

Namespace

Drupal\lingotek

Code

public function getConfigEntityDefaultProfileId($plugin_id, $provide_default = TRUE);