Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GroupwiseMax.php

function GroupwiseMax::submitOptionsForm

When the form is submitted, make sure to clear the subquery string cache.

Overrides PluginBase::submitOptionsForm

File

core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php, line 170

Class

GroupwiseMax
The relationship handler for groupwise maximum queries.

Namespace

Drupal\views\Plugin\views\relationship

Code

public function submitOptionsForm(&$form, FormStateInterface $form_state) {
    $cid = 'views_relationship_groupwise_max:' . $this->view->storage
        ->id() . ':' . $this->view->current_display . ':' . $this->options['id'];
    \Drupal::cache('data')->delete($cid);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal