Skip to content
Snippets Groups Projects
Commit b709c5ae authored by catch's avatar catch
Browse files

Issue #3522969 by annmarysruthy: Deprecate BrowserTestBase::getOptions()

parent 2ded5d0f
Branches
Tags
No related merge requests found
Pipeline #509135 passed with warnings
Pipeline: drupal

#509140

    Pipeline: drupal

    #509138

      ......@@ -502,8 +502,14 @@ protected function getHttpClient() {
      *
      * @return array
      * Associative array of option keys and values.
      *
      * @deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is
      * no direct replacement.
      *
      * @see https://www.drupal.org/node/3523039
      */
      protected function getOptions($select, ?Element $container = NULL) {
      @trigger_error(__METHOD__ . 'is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. There is no direct replacement. See https://www.drupal.org/node/3523039', E_DEPRECATED);
      if (is_string($select)) {
      $select = $this->assertSession()->selectExists($select, $container);
      }
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Please register or to comment