PublicFieldInfoNull.php in RESTful 7.2
File
src/Plugin/resource/Field/PublicFieldInfo/PublicFieldInfoNull.php
View source
<?php
namespace Drupal\restful\Plugin\resource\Field\PublicFieldInfo;
class PublicFieldInfoNull implements PublicFieldInfoInterface {
public function __construct($field_name, array $sections = array()) {
$this->fieldName = $field_name;
}
public function prepare() {
return array();
}
public function addCategory($category_name, array $section_info) {
}
public function getSection($section_name) {
return array();
}
public function addSectionDefaults($section_name, array $section_info) {
}
}