public EntityDisplayFormBase::getRegionOptions()
Returns an associative array of all regions.
Return value
array An array containing the region options.
File
- core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 112
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\Form
Code
public function getRegionOptions() { $options = array(); foreach ($this->getRegions() as $region => $data) { $options[$region] = $data['title']; } return $options; }
Please login to continue.