You are here

interface LingotekFilterProviderInterface in Lingotek Translation 3.7.x

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

Contract for classes providing filter information.

@package Drupal\lingotek

Hierarchy

Expanded class hierarchy of LingotekFilterProviderInterface

All classes that implement LingotekFilterProviderInterface

File

src/LingotekFilterProviderInterface.php, line 10

Namespace

Drupal\lingotek
View source
interface LingotekFilterProviderInterface {

  /**
   * Gets the FPRM filter of the profile.
   *
   * @return string
   *   The fprm filter identifier, used to upload documents. If the value is
   *   'drupal_default', the default site FRPM filter should be used.
   */
  public function getFilter();

  /**
   * Sets the FPRM filter of the profile.
   *
   * @param string $filter
   *   The FPRM filter identifier, used to upload documents. If the value is
   *   'drupal_default', the default site FPRM filter should be used.
   *
   * @return $this
   */
  public function setFilter($filter);

  /**
   * Gets the FPRM subfilter of the profile.
   *
   * @return string
   *   The FPRM filter identifier, used to upload documents. If the value is
   *   'drupal_default', the default site FPRM subfilter should be used.
   */
  public function getSubfilter();

  /**
   * Sets the FPRM subfilter of the profile.
   *
   * @param string $filter
   *   The FPRM filter identifier, used to upload documents. If the value is
   *   'drupal_default', the default site FPRM subfilter should be used.
   *
   * @return $this
   */
  public function setSubfilter($filter);

}

Members

Namesort descending Modifiers Type Description Overrides
LingotekFilterProviderInterface::getFilter public function Gets the FPRM filter of the profile. 2
LingotekFilterProviderInterface::getSubfilter public function Gets the FPRM subfilter of the profile. 2
LingotekFilterProviderInterface::setFilter public function Sets the FPRM filter of the profile. 2
LingotekFilterProviderInterface::setSubfilter public function Sets the FPRM subfilter of the profile. 2