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
Namespace
Drupal\restful\Plugin\resource\Field\PublicFieldInfoCode
public function __construct($field_name, array $sections = array()) {
$this->fieldName = $field_name;
}