code: public function setContextMenuItems(\Closure $contextMenuItems) {
          $this->setIsContextMenuEnabled(true);
          $this->contextMenuItems = $contextMenuItems;
          return $this;
      }
docs: Note: common actions: 'details', 'edit', 'clone', 'delete' will be added automatically before custom
  menu items. You can manipulate positioning of common items using action name as key and null as value
  (ex: 'details' => null) instead of CmfMenuItem or Tag.
  @param \Closure $contextMenuItems - function (ScaffolSectionConfig $scaffoldSectionConfig) { return []; }
  Format:
  1. MenuItem
  - CmfMenuItem::redirect(cmfRoute('route', [], false))
  ->setTitle($this->translate('action.details'))
  ->setIconClasses('fa fa-user text-primary')
  - CmfMenuItem::request(cmfRoute('route', [], false), 'delete')
  ->setTitle($this->translate('action.delete'))
  ->setIconClasses('fa fa-trash text-danger')
  ->setConfirm($this->translate('message.delete_confirm'));
  - Tag::li(Tag::a()) (For Tag::a() format see setRowActions() docs)
  2. List of menu items:
  - No grouping:
  [
  MenuItem1,
  MenuItem2,
  'edit' => null
  ...
  ]
  - With groups:
  [
  [
  MenuItem1,
  MenuItem2,
  ...
  ],
  [
  MenuItem3,
  'delete' => null
  ]
  ]
  @return $this