protected function Text::getFilterFormats in Feeds 8.3
Retrieves a list of text formats that the given user may use.
Parameters
\Drupal\Core\Session\AccountInterface $account: The account to select formats for.
Return value
\Drupal\filter\FilterFormatInterface[] An array of text format objects, keyed by the format ID and ordered by weight.
1 call to Text::getFilterFormats()
- Text::buildConfigurationForm in src/
Feeds/ Target/ Text.php - Form constructor.
File
- src/
Feeds/ Target/ Text.php, line 95
Class
- Text
- Defines a text field mapper.
Namespace
Drupal\feeds\Feeds\TargetCode
protected function getFilterFormats(AccountInterface $account) {
return filter_formats($account);
}