You are here

entity_type.inc in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

File

merci_line_item/includes/entity_type.inc
View source
<?php

class MerciLineItemType extends Entity {
  protected function defaultLabel() {
    if (property_exists($this, 'label')) {
      return $this->label;
    }
    return "MERCI Line Item Type";
  }
  protected function defaultUri() {
    $entity_info = $this
      ->entityInfo();
    return array(
      'path' => $entity_info['admin ui']['path'] . '/' . $this->id,
    );
  }

}

Classes

Namesort descending Description
MerciLineItemType