You are here

public function CourseHandler::optionsSubmit in Course 3.x

Same name and namespace in other branches
  1. 8.3 src/Helper/CourseHandler.php \Drupal\course\Helper\CourseHandler::optionsSubmit()
  2. 8.2 src/Helper/CourseHandler.php \Drupal\course\Helper\CourseHandler::optionsSubmit()

Save data somewhere.

This can be overridden. For example, values stored in CourseObject sessions need to have priority over those in the database.

1 method overrides CourseHandler::optionsSubmit()
CourseObject::optionsSubmit in src/Entity/CourseObject.php
Save object configs to cache.

File

src/Helper/CourseHandler.php, line 190

Class

CourseHandler
Master class for a course related content entity.

Namespace

Drupal\course\Helper

Code

public function optionsSubmit(&$form, FormStateInterface $form_state) {
}