You are here

interface ConditionalFieldCheckedUncheckedInterface in Conditional Fields 4.x

Same name and namespace in other branches
  1. 8 tests/src/FunctionalJavascript/TestCases/ConditionalFieldCheckedUncheckedInterface.php \Drupal\Tests\conditional_fields\FunctionalJavascript\TestCases\ConditionalFieldCheckedUncheckedInterface

Outline tests for field types that can be both (in)visible and (un)checked.

@package Drupal\Tests\conditional_fields\FunctionalJavascript\TestCases

Hierarchy

Expanded class hierarchy of ConditionalFieldCheckedUncheckedInterface

All classes that implement ConditionalFieldCheckedUncheckedInterface

2 files declare their use of ConditionalFieldCheckedUncheckedInterface
ConditionalFieldCheckboxTest.php in tests/src/FunctionalJavascript/ConditionalFieldCheckboxTest.php
ConditionalFieldRadiosTest.php in tests/src/FunctionalJavascript/ConditionalFieldRadiosTest.php

File

tests/src/FunctionalJavascript/TestCases/ConditionalFieldCheckedUncheckedInterface.php, line 10

Namespace

Drupal\Tests\conditional_fields\FunctionalJavascript\TestCases
View source
interface ConditionalFieldCheckedUncheckedInterface {

  /**
   * The target field is Visible when the control field is Checked.
   */
  public function testVisibleChecked();

  /**
   * The target field is Visible when the control field is Unchecked.
   */
  public function testVisibleUnchecked();

  /**
   * The target field is Invisible when the control field is Unchecked.
   */
  public function testInvisibleUnchecked();

}

Members

Namesort descending Modifiers Type Description Overrides
ConditionalFieldCheckedUncheckedInterface::testInvisibleUnchecked public function The target field is Invisible when the control field is Unchecked. 2
ConditionalFieldCheckedUncheckedInterface::testVisibleChecked public function The target field is Visible when the control field is Checked. 2
ConditionalFieldCheckedUncheckedInterface::testVisibleUnchecked public function The target field is Visible when the control field is Unchecked. 2