You are here

interface TranslatableTargetInterface in Feeds 8.3

Interface for translatable target plugins.

Hierarchy

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\Target
View 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

Namesort descending Modifiers Type Description Overrides
TranslatableTargetInterface::getLangcode public function Gets the configured language. 1
TranslatableTargetInterface::isTargetTranslatable public function Checks if the target is translatable. 1
TranslatableTargetInterface::languageExists public function Checks if the language selected on the target exists. 1