field_info_widget_types

  1. drupal
    1. drupal7
Versionen
drupal7 field_info_widget_types($widget_type = NULL)

Return hook_field_widget_info() data.

Übergabeparameter

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

Rückgabewert

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

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

Verwandte Themen

▾ 5 functions call field_info_widget_types()

FieldInfoTestCase::testFieldInfo in modules/field/field.test
FieldInstanceTestCase::testCreateFieldInstance in modules/field/field.test
_field_behaviors_widget in modules/field/field.info.inc
Helper function for determining the behavior of a widget with respect to a given operation.
_field_info_widget_settings in modules/field/field.info.inc
Return a field widget'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 483

<?php
function field_info_widget_types($widget_type = NULL) {
  require_once DRUPAL_ROOT . '/modules/field/field.info.inc';
  return _field_info_widget_types($widget_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