function field_info_storage_types

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 field.info.inc field_info_storage_types($storage_type = NULL)
cle7 field.info.inc field_info_storage_types($storage_type = NULL)
elmsmedia7 field.info.inc field_info_storage_types($storage_type = NULL)
icor7 field.info.inc field_info_storage_types($storage_type = NULL)
meedjum_blog7 field.info.inc field_info_storage_types($storage_type = NULL)
mooc7 field.info.inc field_info_storage_types($storage_type = NULL)

Returns information about field storage from hook_field_storage_info().

Parameters

$storage_type: (optional) A storage type name. If omitted, all storage types will be returned.

Return value

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

Related topics

8 calls to field_info_storage_types()
field_attach_delete in modules/field/field.attach.inc
Delete field data for an existing entity. This deletes all revisions of field data for the entity.
field_attach_delete_revision in modules/field/field.attach.inc
Delete field data for a single revision of an existing entity. The passed entity must have a revision id attribute.
field_attach_insert in modules/field/field.attach.inc
Save field data for a new entity.
field_attach_load in modules/field/field.attach.inc
Loads fields for the current revisions of a group of entities.
field_attach_update in modules/field/field.attach.inc
Save field data for an existing entity.

... See full list

File

modules/field/field.info.inc, line 404
Field Info API, providing information about available fields and field types.

Code

function field_info_storage_types($storage_type = NULL) {
  $info = _field_info_collate_types();
  $storage_types = $info['storage types'];
  if ($storage_type) {
    if (isset($storage_types[$storage_type])) {
      return $storage_types[$storage_type];
    }
  }
  else {
    return $storage_types;
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.