You are here

function languagefield_property_info_callback in Custom Language field 7

Prevents a fatal error in the upgrade from 7.x-1.4 to 7.x-1.5.

See also

https://www.drupal.org/node/1312374

https://www.drupal.org/node/2821791

File

./languagefield.module, line 53
Provides a list of languages from ISO 639 standard. All variables of a $language-object can be found here: http://api.drupal.org/api/drupal/developer--globals.php/global/language

Code

function languagefield_property_info_callback(&$info, $entity_type, $field, $instance, $field_type) {
  return array();
}