You are here

function farm_sensor_default_farm_asset_type in farmOS 7

Implements hook_default_farm_asset_type().

File

modules/farm/farm_sensor/farm_sensor.features.inc, line 29
farm_sensor.features.inc

Code

function farm_sensor_default_farm_asset_type() {
  $items = array();
  $items['sensor'] = entity_import('farm_asset_type', '{
    "type" : "sensor",
    "label" : "Sensor",
    "weight" : 0,
    "rdf_mapping" : []
  }');
  return $items;
}