Problem/Motivation
if ($extension === 'module' && !$iterator->getDepth()) {
should be
if (($extension === 'module' || $extension === 'profile') && !$iterator->getDepth()) {
Steps to reproduce
Create OOP hook in a profile.
Proposed resolution
Make code change
Remaining tasks
MR
User interface changes
N/A
Introduced terminology
N/A
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A
Issue fork drupal-3490298
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3490298-profiles-can-be
changes, plain diff MR !10372
Comments
Comment #2
nicxvan commentedComment #3
nicxvan commentedComment #5
nicxvan commentedComment #6
nicxvan commentedComment #7
andypostLooks good to go!
Comment #8
nicxvan commentedI rebased and moved the profile to profiles/tests since #3490493: Test profiles should be in a tests directory that is where they belong.
Comment #9
nicxvan commentedComment #12
catchCommitted/pushed to 11.x and cherry-picked to 11.1.x, thanks!