{"action":"created","comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments/62819089","id":62819089,"diff_hunk":"@@ -351,6 +351,30 @@ You can add or override filter parameters to the Tab Menu:\n The `Delivery` class is based on the `sonata_type_translatable_choice` example inside the Core's documentation:\n http://sonata-project.org/bundles/core/master/doc/reference/form_types.html#sonata-type-translatable-choice\n \n+\n+Actions Menu\n+------------\n+\n+You can add custom items to the actions menu for a specific action by overriding the following method:\n+\n+.. code-block:: php\n+\n+    public function configureActionButtons($action, $object = null)\n+    {\n+        $list = parent::configureActionButtons($action, $object);\n+\n+        if (in_array($action, array('show', 'edit', 'acl')) && $object) {\n+            $list['custom'] = array(\n+                'template' => 'AcmeBundle:Button:custom_button.html.twig',","path":"Resources/doc/reference/advanced_configuration.rst","position":null,"original_position":18,"commit_id":"113bbba8708604a8b162db1c3a73e4e25966fbde","original_commit_id":"d10ef86194ad536575fe635c89decf0a3db7bc47","user":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"body":"I replaced it with `AppBundle` because we are refering this directory in any other documention @Soullivaneuh ","created_at":"2016-05-11T09:42:03Z","updated_at":"2016-05-11T09:42:03Z","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3790#discussion_r62819089","pull_request_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3790","_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments/62819089"},"html":{"href":"https://github.com/sonata-project/SonataAdminBundle/pull/3790#discussion_r62819089"},"pull_request":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3790"}}},"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3790","id":69536310,"html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3790","diff_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3790.diff","patch_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3790.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3790","number":3790,"state":"open","locked":false,"title":"Docs: Added information for configureActionButtons method","user":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-10T16:26:37Z","updated_at":"2016-05-11T09:42:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cba02d8c22ed9358874a27beebdd28b1084c528e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3790/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3790/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3790/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/113bbba8708604a8b162db1c3a73e4e25966fbde","head":{"label":"core23:doc-action-buttons","ref":"doc-action-buttons","sha":"113bbba8708604a8b162db1c3a73e4e25966fbde","user":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"repo":{"id":34207278,"name":"SonataAdminBundle","full_name":"core23/SonataAdminBundle","owner":{"login":"core23","id":3440437,"avatar_url":"https://avatars.githubusercontent.com/u/3440437?v=3","gravatar_id":"","url":"https://api.github.com/users/core23","html_url":"https://github.com/core23","followers_url":"https://api.github.com/users/core23/followers","following_url":"https://api.github.com/users/core23/following{/other_user}","gists_url":"https://api.github.com/users/core23/gists{/gist_id}","starred_url":"https://api.github.com/users/core23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core23/subscriptions","organizations_url":"https://api.github.com/users/core23/orgs","repos_url":"https://api.github.com/users/core23/repos","events_url":"https://api.github.com/users/core23/events{/privacy}","received_events_url":"https://api.github.com/users/core23/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/core23/SonataAdminBundle","description":"AdminBundle - The missing Symfony2 Admin Generator","fork":true,"url":"https://api.github.com/repos/core23/SonataAdminBundle","forks_url":"https://api.github.com/repos/core23/SonataAdminBundle/forks","keys_url":"https://api.github.com/repos/core23/SonataAdminBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/core23/SonataAdminBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/core23/SonataAdminBundle/teams","hooks_url":"https://api.github.com/repos/core23/SonataAdminBundle/hooks","issue_events_url":"https://api.github.com/repos/core23/SonataAdminBundle/issues/events{/number}","events_url":"https://api.github.com/repos/core23/SonataAdminBundle/events","assignees_url":"https://api.github.com/repos/core23/SonataAdminBundle/assignees{/user}","branches_url":"https://api.github.com/repos/core23/SonataAdminBundle/branches{/branch}","tags_url":"https://api.github.com/repos/core23/SonataAdminBundle/tags","blobs_url":"https://api.github.com/repos/core23/SonataAdminBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/core23/SonataAdminBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/core23/SonataAdminBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/core23/SonataAdminBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/core23/SonataAdminBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/core23/SonataAdminBundle/languages","stargazers_url":"https://api.github.com/repos/core23/SonataAdminBundle/stargazers","contributors_url":"https://api.github.com/repos/core23/SonataAdminBundle/contributors","subscribers_url":"https://api.github.com/repos/core23/SonataAdminBundle/subscribers","subscription_url":"https://api.github.com/repos/core23/SonataAdminBundle/subscription","commits_url":"https://api.github.com/repos/core23/SonataAdminBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/core23/SonataAdminBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/core23/SonataAdminBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/core23/SonataAdminBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/core23/SonataAdminBundle/contents/{+path}","compare_url":"https://api.github.com/repos/core23/SonataAdminBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/core23/SonataAdminBundle/merges","archive_url":"https://api.github.com/repos/core23/SonataAdminBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/core23/SonataAdminBundle/downloads","issues_url":"https://api.github.com/repos/core23/SonataAdminBundle/issues{/number}","pulls_url":"https://api.github.com/repos/core23/SonataAdminBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/core23/SonataAdminBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/core23/SonataAdminBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/core23/SonataAdminBundle/labels{/name}","releases_url":"https://api.github.com/repos/core23/SonataAdminBundle/releases{/id}","deployments_url":"https://api.github.com/repos/core23/SonataAdminBundle/deployments","created_at":"2015-04-19T13:16:21Z","updated_at":"2015-04-19T13:16:23Z","pushed_at":"2016-05-11T09:40:53Z","git_url":"git://github.com/core23/SonataAdminBundle.git","ssh_url":"git@github.com:core23/SonataAdminBundle.git","clone_url":"https://github.com/core23/SonataAdminBundle.git","svn_url":"https://github.com/core23/SonataAdminBundle","homepage":"http://sonata-project.org/bundles/admin","size":17717,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sonata-project:3.x","ref":"3.x","sha":"5dc9071790d0889a2de7482869e0b381c52b7d15","user":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"repo":{"id":1095228,"name":"SonataAdminBundle","full_name":"sonata-project/SonataAdminBundle","owner":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonata-project/SonataAdminBundle","description":"AdminBundle - The missing Symfony2 Admin Generator","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/releases{/id}","deployments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/deployments","created_at":"2010-11-19T17:08:52Z","updated_at":"2016-05-09T12:40:56Z","pushed_at":"2016-05-11T09:40:54Z","git_url":"git://github.com/sonata-project/SonataAdminBundle.git","ssh_url":"git@github.com:sonata-project/SonataAdminBundle.git","clone_url":"https://github.com/sonata-project/SonataAdminBundle.git","svn_url":"https://github.com/sonata-project/SonataAdminBundle","homepage":"http://sonata-project.org/bundles/admin","size":21996,"stargazers_count":1373,"watchers_count":1373,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":974,"mirror_url":null,"open_issues_count":383,"forks":974,"open_issues":383,"watchers":1373,"default_branch":"3.x"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3790"},"html":{"href":"https://github.com/sonata-project/SonataAdminBundle/pull/3790"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3790"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3790/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3790/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3790/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/113bbba8708604a8b162db1c3a73e4e25966fbde"}}}}