简体   繁体   中英

Is there any hook available so that i can add some columns or buttons in the content section of drupal

Here i want to add a my own custom column in the content section through my own custom module which should automatically appear on the content section when module is installed, so in order to do that i looked for hooks available but could not find one. So can anyone suggest me some way in order to achieve this. Content Section with the requirement

Here in the above image i want to add a custom column.

This is admin view, You can achieve this by following:

  1. Go to "/admin/structure/views/view/content" and add column manually
  2. by using hook_views_pre_render and target view with machine name as "content".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM