You are here

public function PublicFieldInfoInterface::getSection in RESTful 7.2

Gets the section.

Parameters

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

Return value

array The structured array with the section information.

2 methods override PublicFieldInfoInterface::getSection()
PublicFieldInfoBase::getSection in src/Plugin/resource/Field/PublicFieldInfo/PublicFieldInfoBase.php
Gets the section.
PublicFieldInfoNull::getSection in src/Plugin/resource/Field/PublicFieldInfo/PublicFieldInfoNull.php
Gets the section.

File

src/Plugin/resource/Field/PublicFieldInfo/PublicFieldInfoInterface.php, line 41
Contains \Drupal\restful\Plugin\resource\Field\PublicFieldInfo\PublicFieldInfoInterface.

Class

PublicFieldInfoInterface

Namespace

Drupal\restful\Plugin\resource\Field\PublicFieldInfo

Code

public function getSection($section_name);