interface TranslatableTargetInterface in Feeds 8.3
Interface for translatable target plugins.
Hierarchy
- interface \Drupal\feeds\Plugin\Type\Target\TranslatableTargetInterface
Expanded class hierarchy of TranslatableTargetInterface
All classes that implement TranslatableTargetInterface
1 file declares its use of TranslatableTargetInterface
- EntityProcessorBase.php in src/
Feeds/ Processor/ EntityProcessorBase.php
File
- src/
Plugin/ Type/ Target/ TranslatableTargetInterface.php, line 8
Namespace
Drupal\feeds\Plugin\Type\TargetView source
interface TranslatableTargetInterface {
/**
* Checks if the language selected on the target exists.
*
* @return bool
* True, if the target configured language exists. False otherwise.
*/
public function languageExists();
/**
* Checks if the target is translatable.
*
* Target is translatable when a language is set in configuration.
*
* @return bool
* True if the target translatable. False otherwise.
*/
public function isTargetTranslatable();
/**
* Gets the configured language.
*
* @return string
* The configured language.
*/
public function getLangcode();
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TranslatableTargetInterface:: |
public | function | Gets the configured language. | 1 |
TranslatableTargetInterface:: |
public | function | Checks if the target is translatable. | 1 |
TranslatableTargetInterface:: |
public | function | Checks if the language selected on the target exists. | 1 |