You are here

public function PublicFieldInfoNull::__construct in RESTful 7.2

PublicFieldInfoBase constructor.

Parameters

string $field_name: The name of the field.

array[] $sections: The array of categories information.

File

src/Plugin/resource/Field/PublicFieldInfo/PublicFieldInfoNull.php, line 20
Contains \Drupal\restful\Plugin\resource\Field\PublicFieldInfo\PublicFieldInfoNull.

Class

PublicFieldInfoNull

Namespace

Drupal\restful\Plugin\resource\Field\PublicFieldInfo

Code

public function __construct($field_name, array $sections = array()) {
  $this->fieldName = $field_name;
}