You are here

function matrix_handler_cell::construct in Matrix field 6.2

File

./matrix_handler_cell.inc, line 7

Class

matrix_handler_cell
Cell handler to present a cell from the Matrix field to the user.

Code

function construct() {
  parent::construct();
  $this->additional_fields['vid'] = 'vid';
  $this->content_field = content_fields($this->definition['content_field_name']);
  $this->row_index = $this->definition['row_index'];
  $this->col_index = $this->definition['col_index'];
}