You are here

class TMGMTMessageViewsController in Translation Management Tool 7

Views controller class for the job message entity.

Hierarchy

Expanded class hierarchy of TMGMTMessageViewsController

1 string reference to 'TMGMTMessageViewsController'
tmgmt_entity_info in ./tmgmt.module
Implements hook_entity_info().

File

views/tmgmt.views.inc, line 125
Contains Views controllers for the translation management module.

View source
class TMGMTMessageViewsController extends EntityDefaultViewsController {

  /**
   * {@inheritdoc}
   */
  public function views_data() {
    $data = parent::views_data();
    $data['tmgmt_message']['message']['field']['handler'] = 'tmgmt_handler_field_tmgmt_message_message';
    return $data;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
EntityDefaultViewsController::$type protected property
EntityDefaultViewsController::getRelationshipHandlerClass public function Determines the handler to use for a relationship to an entity type.
EntityDefaultViewsController::map_from_schema_info protected function Comes up with views information based on the given schema and property info.
EntityDefaultViewsController::optionsListCallback public static function A callback returning property options, suitable to be used as views options callback.
EntityDefaultViewsController::schema_fields protected function Try to come up with some views fields with the help of the schema and the entity property information.
EntityDefaultViewsController::schema_revision_fields protected function Try to come up with some views fields with the help of the revision schema and the entity property information.
EntityDefaultViewsController::__construct public function
TMGMTMessageViewsController::views_data public function Defines the result for hook_views_data(). Overrides EntityDefaultViewsController::views_data