---
title: "Discussion on \"How to alter Core Existing Actions using hook_action_info_alter\" | Hashnode"
description: "Discussion on \"How to alter Core Existing Actions using hook_action_info_alter\". In Drupal 9 /10 We have a core Actions Plugin defined in docroot/core/lib/Drupal/Core/Action/ActionManager.php which is providing a hook to alter Action annotations, I used the below code to alter the existing Action Class with a New one\nIn your cust..."
url: "https://hashnode.com/posts/how-to-alter-core-existing-actions-using-hook-action-info-alter/6458c4edb3a3d1075b076835"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to alter Core Existing Actions using hook\_action\_info\_alter](https://sreenidrupaldev.hashnode.dev/how-to-alter-core-existing-actions-using-hook-action-info-alter?utm_source=hashnode&utm_medium=feed)

In Drupal 9 /10 We have a core Actions Plugin defined in docroot/core/lib/Drupal/Core/Action/ActionManager.php which is providing a hook to alter Action annotations, I used the below code to alter the existing Action Class with a New one In your cust...

May 8, 2023 · 1 min read · sreenidrupaldev.hashnode.dev  
Read the article

-   [#drupal-9](https://hashnode.com/tag/drupal-9)
-   [#drupal-9-actions](https://hashnode.com/tag/drupal-9-actions)
-   [#drupal-9-hooks](https://hashnode.com/tag/drupal-9-hooks)

## Written by

[sreenu paruchuri](https://hashnode.com/@sreeniDrupaldev)

@sreeniDrupaldev

  
[View profile](https://hashnode.com/@sreeniDrupaldev)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
