Skip to content
Snippets Groups Projects
Commit 62cc6218 authored by Alex Barth's avatar Alex Barth
Browse files

Limit access to filter formats.

parent c9e9c0e1
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,8 @@ class FeedsNodeProcessor extends FeedsProcessor {
'#default_value' => $this->config['content_type'],
);
$format_options = array(FEEDS_NODE_DEFAULT_FORMAT => t('Default format'));
$formats = filter_formats();
global $user;
$formats = filter_formats($user);
foreach ($formats as $format) {
$format_options[$format->format] = check_plain($format->name);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment