🇮🇳India @saurabh.tripathi.cs

Account created on 3 January 2013, about 12 years ago
#

Recent comments

🇮🇳India saurabh.tripathi.cs

Is there a patch for D10?
i have changed #56 a bit to match with D10

  /**
   * {@inheritdoc}
   */
  public function &getValues() {
    $exists = NULL;
    if ($this->isProcessingInput()) {
      $values = &NestedArray::getValue(parent::getValues(), $this->getParents('#parents'), $exists);
    }
    else {
      @trigger_error("Please don't.", E_USER_DEPRECATED);
    }
    if (!$exists) {
      $values = [];
    }
    if (!is_array($values)) {
      throw new \UnexpectedValueException('The form state values do not belong to the subform.');
    }

    return $values;
  }
Production build 0.71.5 2024