|
Tripal
|


Public Member Functions | |
| __construct ($entityType) | |
| create (array $values=[]) | |
| delete ($ids, DatabaseTransaction $transaction=NULL) | |
| save ($entity, DatabaseTransaction $transaction=NULL) | |
TripalTermController extends DrupalDefaultEntityController.
Our subclass of DrupalDefaultEntityController lets us add a few important create, update, and delete methods.
| TripalTermController::delete | ( | $ids, | |
| DatabaseTransaction | $transaction = NULL |
||
| ) |
Delete a single entity.
| TripalTermController::save | ( | $entity, | |
| DatabaseTransaction | $transaction = NULL |
||
| ) |
Saves the custom fields using drupal_write_record().