function data_get_field_definition in Data 8
Same name and namespace in other branches
- 6 data.module \data_get_field_definition()
- 7 data.module \data_get_field_definition()
Get a definition key into a schema API type definition.
If no type can be found, FALSE will be returned.
1 call to data_get_field_definition()
- data_build_schema in ./
data.module - Helper function to generate a schema.
File
- ./
data.module, line 82 - Hooks and API functions for data module.
Code
function data_get_field_definition($key) {
$definitions = data_get_field_definitions();
if (isset($definitions[$key])) {
return $definitions[$key];
}
return FALSE;
}