class FormStateValuesTraitStub

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php \Drupal\Tests\Core\Form\FormStateValuesTraitStub
  2. 8.9.x core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php \Drupal\Tests\Core\Form\FormStateValuesTraitStub
  3. 11.x core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php \Drupal\Tests\Core\Form\FormStateValuesTraitStub

Hierarchy

Expanded class hierarchy of FormStateValuesTraitStub

File

core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php, line 247

Namespace

Drupal\Tests\Core\Form
View source
class FormStateValuesTraitStub {
    use FormStateValuesTrait;
    
    /**
     * The submitted form values.
     *
     * @var mixed[]
     */
    protected $values = [];
    
    /**
     * {@inheritdoc}
     */
    public function &getValues() {
        return $this->values;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
FormStateValuesTrait::getValue public function Implements \Drupal\Core\Form\FormStateInterface::getValue()
FormStateValuesTrait::hasValue public function Implements \Drupal\Core\Form\FormStateInterface::hasValue()
FormStateValuesTrait::isValueEmpty public function Implements \Drupal\Core\Form\FormStateInterface::isValueEmpty()
FormStateValuesTrait::setValue public function Implements \Drupal\Core\Form\FormStateInterface::setValue()
FormStateValuesTrait::setValueForElement public function Implements \Drupal\Core\Form\FormStateInterface::setValueForElement()
FormStateValuesTrait::setValues public function Implements \Drupal\Core\Form\FormStateInterface::setValues()
FormStateValuesTrait::unsetValue public function Implements \Drupal\Core\Form\FormStateInterface::unsetValue()
FormStateValuesTraitStub::$values protected property The submitted form values.
FormStateValuesTraitStub::getValues public function Overrides FormStateValuesTrait::getValues

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