public static function ViewsBulkOperationsActionCompletedTrait::message in Views Bulk Operations (VBO) 8.3
Same name and namespace in other branches
- 4.0.x src/Action/ViewsBulkOperationsActionCompletedTrait.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsActionCompletedTrait::message()
Set message function wrapper.
See also
\Drupal\Core\Messenger\MessengerInterface
2 calls to ViewsBulkOperationsActionCompletedTrait::message()
- ViewsBulkOperationsActionCompletedTrait::finished in src/
Action/ ViewsBulkOperationsActionCompletedTrait.php - Batch finished callback.
- ViewsBulkOperationsAdvancedTestAction::finished in tests/
views_bulk_operations_test/ src/ Plugin/ Action/ ViewsBulkOperationsAdvancedTestAction.php - Batch finished callback.
1 method overrides ViewsBulkOperationsActionCompletedTrait::message()
- TestViewsBulkOperationsBatch::message in tests/
src/ Unit/ TestViewsBulkOperationsBatch.php - Override message method.
File
- src/
Action/ ViewsBulkOperationsActionCompletedTrait.php, line 17
Class
- ViewsBulkOperationsActionCompletedTrait
- Defines action completion logic.
Namespace
Drupal\views_bulk_operations\ActionCode
public static function message($message = NULL, $type = 'status', $repeat = TRUE) {
\Drupal::messenger()
->addMessage($message, $type, $repeat);
}