Skip to content

Add a method to remove an attribute from a group in EavSetup #346

Open
magento/magento2
#39618
@stollr

Description

@stollr

The class Magento\Eav\Setup\EavSetup, which is used to manage EAV attributes programmatically in setup scripts, provides a method to add attributes to groups and attribute sets. The method is called addAttributeToGroup.

But there is missing the inverse method to remove an attribute from a group and set.

The addition of such a method would be great.

Activity

m2-assistant

m2-assistant commented on Feb 10, 2025

@m2-assistant

Hi @stollr. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.

stollr

stollr commented on Feb 10, 2025

@stollr
Author

@magento I am working on this

stollr

stollr commented on Feb 11, 2025

@stollr
Author

PR was added and is ready for review :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @stollr

    Issue actions

      Add a method to remove an attribute from a group in EavSetup · Issue #346 · magento/community-features