class ViewsFormTestHooks

Hook implementations for views_form_test.

Hierarchy

Expanded class hierarchy of ViewsFormTestHooks

File

core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php, line 13

Namespace

Drupal\views_form_test\Hook
View source
class ViewsFormTestHooks {
    
    /**
     * Implements hook_form_BASE_FORM_ID_alter().
     */
    public function formViewsFormMediaMediaPageListAlter(&$form, FormStateInterface $form_state, $form_id) : void {
        $state = \Drupal::state();
        $count = $state->get('hook_form_BASE_FORM_ID_alter_count', 0);
        $state->set('hook_form_BASE_FORM_ID_alter_count', $count + 1);
    }

}

Members

Title Sort descending Modifiers Object type Summary
ViewsFormTestHooks::formViewsFormMediaMediaPageListAlter public function Implements hook_form_BASE_FORM_ID_alter().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.