function filter_format_load

cis7 filter.module filter_format_load($format_id)
cle7 filter.module filter_format_load($format_id)
elmsmedia7 filter.module filter_format_load($format_id)
icor7 filter.module filter_format_load($format_id)
meedjum_blog7 filter.module filter_format_load($format_id)
mooc7 filter.module filter_format_load($format_id)

Loads a text format object from the database.


$format_id: The format ID.

Return value

A fully-populated text format object, if the requested format exists and is enabled. If the format does not exist, or exists in the database but has been marked as disabled, FALSE is returned.

See also


8 calls to filter_format_load()
boxes_simple::options_form in sites/all/modules/ulmus/boxes/plugins/
Implementation of boxes_box::options_form().
check_markup in modules/filter/filter.module
Runs all the enabled filters on a piece of text.
ctools_custom_content_type_admin_info in sites/all/modules/ulmus/ctools/plugins/content_types/custom/
Callback to provide administrative info. In this case we'll render the content as long as it's not PHP, which is too risky to render here.
filter_fallback_format_title in modules/filter/filter.module
Returns the title of the fallback text format.
filter_format_allowcache in modules/filter/filter.module
Checks if the text in a certain text format is allowed to be cached.

... See full list


modules/filter/filter.module, line 165
Framework for handling the filtering of content.


function filter_format_load($format_id) {
  $formats = filter_formats();
  return isset($formats[$format_id]) ? $formats[$format_id] : FALSE;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.