NodeBulkForm.php in Lightning Workflow 8
File
src/Plugin/views/field/NodeBulkForm.php
View source
<?php
namespace Drupal\lightning_workflow\Plugin\views\field;
use Drupal\node\Plugin\views\field\NodeBulkForm as BaseNodeBulkForm;
class NodeBulkForm extends BaseNodeBulkForm {
protected function getBulkOptions($filtered = TRUE) {
$options = parent::getBulkOptions($filtered);
unset($options['node_publish_action'], $options['node_unpublish_action']);
return $options;
}
}
Classes
Name |
Description |
NodeBulkForm |
Extends the node_bulk_form field plugin to disallow certain options. |