You are here

function fe_paths_have_valid_bundle in File Entity Paths 7.2

File

./fe_paths.module, line 867
Contains functions for the File Entity Paths module.

Code

function fe_paths_have_valid_bundle($entity_type) {
  $bundles = fe_paths_get_bundle_names($entity_type);
  return !(count($bundles) == 1 && array_key_exists($entity_type, $bundles));
}