Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

The 'handler_settings' plugin config is deprecated #577

Merged
merged 11 commits into from
Dec 8, 2019
Merged

The 'handler_settings' plugin config is deprecated #577

merged 11 commits into from
Dec 8, 2019

Conversation

claudiu-cristea
Copy link
Collaborator

@claudiu-cristea claudiu-cristea commented Dec 7, 2019

Fixes #519

Copy link
Contributor

@pfrenssen pfrenssen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice work, just a small nitpick.

Comment on lines 42 to 43
// Provide at least one assertion.
$this->assertTrue(TRUE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's explain here why this is done, people might not be familiar with the way PHPUnit marks tests without asserts as being risky.

Comment on lines 39 to 42
// Remove also de backwards compatibility layer because that will be passed
// to the chosen selection handler setter and, as an effect, will trigger a
// deprecation notice.
// @see \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginBase::resolveBackwardCompatibilityConfiguration()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "de" -> "the"

src/Og.php Show resolved Hide resolved
Copy link
Contributor

@pfrenssen pfrenssen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the nitpicks, this is good to go! Thanks a lot!!

@pfrenssen pfrenssen merged commit 0c8aaa2 into Gizra:8.x-1.x Dec 8, 2019
@pfrenssen pfrenssen removed their assignment Dec 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Providing settings under 'handler_settings' is deprecated
2 participants