How to unset $page['#attached']['html_head_link'] from head? Help me with this question please: how to unset html_head_link from pages in my Drupal 8.0.3 site.

I mean, delete this META:

&lt;link rel="delete-form" href="/node/{id}/delete" /&gt;
&lt;link rel="edit-form" href="/node/{id}/edit" /&gt;
&lt;link rel="version-history" href="/node/{id}/revisions" /&gt;
&lt;link rel="revision" href="/mypage" /&gt;


I try this in MYTHEME.theme file: 

function MYTHEME_page_attachments_alter(array &amp;$page) {    
  foreach ($page['#attached']['html_head_link'] as $key =&gt; $value) {
    unset($page['#attached']['html_head_link'][$key]);
  }
}


But this do nothing...
OK. I found fresh module for this trouble. Module's author use hook_entity_view_alter() for implements head render. Check out their git respository to download the module and get the full code with comments.