field_info_field_types

  1. drupal
    1. drupal7
Versionen
drupal7 field_info_field_types($field_type = NULL)

Return hook_field_info() data.

Übergabeparameter

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

Rückgabewert

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

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

Verwandte Themen

▾ 10 functions call field_info_field_types()

FieldInfoTestCase::testFieldInfo in modules/field/field.test
FieldInstanceTestCase::testCreateFieldInstance in modules/field/field.test
FieldInstanceTestCase::testUpdateFieldInstance in modules/field/field.test
FieldTestCase::testCreateField in modules/field/field.test
Test the creation of a field.
field_create_field in modules/field/field.crud.inc
Create a field.
_field_behaviors_field in modules/field/field.info.inc
Helper function for determining the behavior of a field with respect to a given operation.
_field_get_formatter in modules/field/field.info.inc
Return valid formatter type and settings.
_field_info_field_settings in modules/field/field.info.inc
Return a field type's default settings.
_field_info_instance_settings in modules/field/field.info.inc
Return a field type's default instance 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 465

<?php
function field_info_field_types($field_type = NULL) {
  require_once DRUPAL_ROOT . '/modules/field/field.info.inc';
  return _field_info_field_types($field_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