public function RelationalFilter::__construct in RESTful 7.2
Constructs the RelationalFilter object.
Parameters
string $name:
string $type:
string $column:
string $entity_type:
array $bundles:
string $targetColumn:
File
- src/
Util/ RelationalFilter.php, line 69 - Contains \Drupal\restful\Util\RelationalFilter.
Class
- RelationalFilter
- Class RelationalFilter.
Namespace
Drupal\restful\UtilCode
public function __construct($name, $type, $column, $entity_type, array $bundles = array(), $target_column = NULL) {
$this->name = $name;
$this->type = $type;
$this->column = $column;
$this->entityType = $entity_type;
$this->bundles = $bundles;
$this->targetColumn = $target_column;
}