You are here

function openlayers_cck_content_is_empty in Openlayers 6.2

Same name and namespace in other branches
  1. 6 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 215
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) {
  return empty($item['openlayers_wkt']);
}