You are here

public function FlexiformBuilder::__construct in Flexiform 7

Construct the Flexiform Builder.

File

includes/flexiform.builder.inc, line 58
Specify builder classes for flexiforms.

Class

FlexiformBuilder
Base class for flexiform builders.

Code

public function __construct($flexiform, $base_entity) {
  $this->flexiform = $flexiform;
  $this->base_entity = $base_entity;
  $this->base_entity_type = $flexiform->base_entity;
}