Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!12061
Issue
#3522969
: Deprecate BrowserTestBase::getOptions()
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3522969
: Deprecate BrowserTestBase::getOptions()
issue/drupal-3522969:3522969-deprecate-browsertestbasegetoptions
into
11.x
Overview
1
Commits
1
Pipelines
1
Changes
1
Open
Ann Mary Sruthy
requested to merge
issue/drupal-3522969:3522969-deprecate-browsertestbasegetoptions
into
11.x
1 week ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
Closes
#3522969
0
0
Merge request reports
Compare
11.x
11.x (HEAD)
and
latest version
latest version
8f8ef5c2
1 commit,
1 week ago
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
core/tests/Drupal/Tests/BrowserTestBase.php
+
6
−
0
Options
@@ -512,8 +512,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
);
}
Loading