field_info_formatter_types

  1. drupal
    1. drupal7
Versionen
drupal7 field_info_formatter_types($formatter_type = NULL)

Return hook_field_formatter_info() data.

Übergabeparameter

$formatter_type (optional) A formatter type name. If ommitted, all formatter types will be returned.

Rückgabewert

Either a formatter type description, as provided by hook_field_formatter_info(), or an array of all existing widget types, keyed by widget type name.

This function is an autoloader for _field_info_formatter_types() in modules/field/field.info.inc.

Verwandte Themen

▾ 7 functions call field_info_formatter_types()

FieldInfoTestCase::testFieldInfo in modules/field/field.test
FieldInstanceTestCase::testCreateFieldInstance in modules/field/field.test
FieldInstanceTestCase::testUpdateFieldInstance in modules/field/field.test
_field_behaviors_formatter in modules/field/field.info.inc
Helper function for determining the behavior of a formatter with respect to a given operation.
_field_get_formatter in modules/field/field.info.inc
Return valid formatter type and settings.
_field_info_formatter_settings in modules/field/field.info.inc
Return a field formatter's default settings.
_field_write_instance in modules/field/field.crud.inc
Store an instance record in the field configuration database.

Code

modules/field/field.autoload.inc, line 500

<?php
function field_info_formatter_types($formatter_type = NULL) {
  require_once DRUPAL_ROOT . '/modules/field/field.info.inc';
  return _field_info_formatter_types($formatter_type);
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen