You are here

public function PublicFieldInfoNull::addCategory in RESTful 7.2

Add categories to the field info.

Parameters

string $category_name: The name of the categories. By default RESTful suports 'info', 'form_element' and 'data'.

array $section_info: The structured array with the section information.

Overrides PublicFieldInfoInterface::addCategory

File

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

Class

PublicFieldInfoNull

Namespace

Drupal\restful\Plugin\resource\Field\PublicFieldInfo

Code

public function addCategory($category_name, array $section_info) {
}