You are here

function units_unit_delete_multiple in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units.module \units_unit_delete_multiple()

Delete multiple entities of type 'units_unit'.

Parameters

array $umids: Array of entity ids to be deleted

1 call to units_unit_delete_multiple()
units_units_measure_delete in ./units.module
Implements hook_ENTITY_TYPE_delete().

File

./units.module, line 316
Provide API for managing and converting units of measurement.

Code

function units_unit_delete_multiple($umids) {
  entity_delete_multiple('units_unit', $umids);
}