class LingotekDefaultFilterProvider in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 8.2 src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 4.0.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 3.0.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 3.1.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 3.3.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 3.4.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 3.5.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 3.6.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 3.7.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
- 3.8.x src/LingotekDefaultFilterProvider.php \Drupal\lingotek\LingotekDefaultFilterProvider
Filter provider returning the default filters.
@package Drupal\lingotek
Hierarchy
- class \Drupal\lingotek\LingotekDefaultFilterProvider implements LingotekFilterProviderInterface
Expanded class hierarchy of LingotekDefaultFilterProvider
File
- src/
LingotekDefaultFilterProvider.php, line 10
Namespace
Drupal\lingotekView source
class LingotekDefaultFilterProvider implements LingotekFilterProviderInterface {
/**
* Filter 'okf_json@with-html-subfilter.fprm'.
*/
const FPRM_ID = '4f91482b-5aa1-4a4a-a43f-712af7b39625';
/**
* Filter 'okf_html@drupal8-subfilter.fprm'.
*/
const FPRM_SUBFILTER_ID = '0e79f34d-f27b-4a0c-880e-cd9181a5d265';
/**
* {@inheritdoc}
*/
public function getFilter() {
return static::FPRM_ID;
}
/**
* {@inheritdoc}
*/
public function setFilter($filter) {
// Do nothing. Filter is static.
}
/**
* {@inheritdoc}
*/
public function getSubfilter() {
return static::FPRM_SUBFILTER_ID;
}
/**
* {@inheritdoc}
*/
public function setSubfilter($filter) {
// Do nothing. Filter is static.
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LingotekDefaultFilterProvider:: |
constant | Filter 'okf_json@with-html-subfilter.fprm'. | ||
LingotekDefaultFilterProvider:: |
constant | Filter 'okf_html@drupal8-subfilter.fprm'. | ||
LingotekDefaultFilterProvider:: |
public | function |
Gets the FPRM filter of the profile. Overrides LingotekFilterProviderInterface:: |
|
LingotekDefaultFilterProvider:: |
public | function |
Gets the FPRM subfilter of the profile. Overrides LingotekFilterProviderInterface:: |
|
LingotekDefaultFilterProvider:: |
public | function |
Sets the FPRM filter of the profile. Overrides LingotekFilterProviderInterface:: |
|
LingotekDefaultFilterProvider:: |
public | function |
Sets the FPRM subfilter of the profile. Overrides LingotekFilterProviderInterface:: |