You are here

public function CalendarEventEmbeddedWidget::getItemValues in Opigno calendar event 8

Same name in this branch
  1. 8 src/CalendarEventEmbeddedWidget.php \Drupal\opigno_calendar_event\CalendarEventEmbeddedWidget::getItemValues()
  2. 8 src/Form/CalendarEventEmbeddedWidget.php \Drupal\opigno_calendar_event\Form\CalendarEventEmbeddedWidget::getItemValues()
Same name and namespace in other branches
  1. 3.x src/CalendarEventEmbeddedWidget.php \Drupal\opigno_calendar_event\CalendarEventEmbeddedWidget::getItemValues()

Returns the submitted values for the specified subform item.

Parameters

array $form: The parent form array.

\Drupal\Core\Form\FormStateInterface $form_state: The parent form state.

int $delta: The item delta.

Return value

array An associative array of submitted form values.

File

src/CalendarEventEmbeddedWidget.php, line 392

Class

CalendarEventEmbeddedWidget
Provides a widget to attach a calendar event to an entity.

Namespace

Drupal\opigno_calendar_event

Code

public function &getItemValues(array $form, FormStateInterface $form_state, $delta) {
  return NestedArray::getValue($form_state
    ->getValues(), $this
    ->getElementParents($form, $delta));
}