function openlayers_cck_content_is_empty in Openlayers 6
Same name and namespace in other branches
- 6.2 modules/openlayers_cck/openlayers_cck.module \openlayers_cck_content_is_empty()
Implementation of hook_content_is_empty().
File
- modules/
openlayers_cck/ openlayers_cck.module, line 157 - This file holds the main Drupal hook functions and private functions for the openlayers_cck module.
Code
function openlayers_cck_content_is_empty($item, $field) {
if (empty($item['openlayers_wkt'])) {
return TRUE;
}
return FALSE;
}