public function WSEntityAPIController::__construct in Web Service Data 7
Overridden.
Overrides EntityAPIController::__construct
See also
DrupalDefaultEntityController#__construct()
File
- modules/
wsentities/ includes/ wsentity.controller.inc, line 24 - Provides a controller building upon the core controller but providing more features like full CRUD functionality.
Class
- WSEntityAPIController
- WSEntityAPIController extends and overrides most EntityAPIController features
Code
public function __construct($entityType) {
/**
TODO: Load entity config object here
TODO: Find a method of finding out which config object goes with this entity.
**/
parent::__construct($entityType);
}