You are here

function backup_migrate_crud_item_exists in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/crud.inc \backup_migrate_crud_item_exists()
  2. 7.3 includes/crud.inc \backup_migrate_crud_item_exists()

Does a crud item with the given name exist.

Callback for the 'machine_name' form type.

File

includes/crud.inc, line 193
CRUD functions for backup and migrate types (schedules, profiles etc.).

Code

function backup_migrate_crud_item_exists($machine_name, $element, $form_state) {
  return $form_state['values']['item']
    ->item_exists($machine_name);
}