You are here

public function dsDisplay::addField in Display Suite 6.3

Add a field

1 call to dsDisplay::addField()
dsDisplay::prepare in includes/dsDisplay.php
Build field and region information

File

includes/dsDisplay.php, line 386
Class definition for a Display Suite Display object

Class

dsDisplay
The Display Suite Display object

Code

public function addField($key, $field) {
  $this->fields[$key] = $field;
  return $this->fields[$key];
}