2 * Implements hook_entity_info_alter().
4 function {{ machine_name }}_entity_info_alter(&$entity_info) {
5 // Set the controller class for nodes to an alternate implementation of the
6 // DrupalEntityController interface.
7 $entity_info['node']['controller class'] = 'MyCustomNodeController';