Make node and other operations more discoverable by moving them to traits
Compare changes
+ 7
− 230
@@ -20,9 +20,6 @@ use Drupal\Core\Session\AccountSwitcherInterface;
@@ -20,9 +20,6 @@ use Drupal\Core\Session\AccountSwitcherInterface;
@@ -33,6 +30,8 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
@@ -33,6 +30,8 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
@@ -236,26 +235,6 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -236,26 +235,6 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -288,208 +267,6 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -288,208 +267,6 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -514,7 +291,7 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -514,7 +291,7 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -584,7 +361,7 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -584,7 +361,7 @@ class BatchOperations implements ContainerInjectionInterface {
$this->logger->error("Error encountered while processing @key. => <pre>{$item_text}</pre></br> Completed @completed of @total.</br> @error", $vars);
@@ -760,7 +537,7 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -760,7 +537,7 @@ class BatchOperations implements ContainerInjectionInterface {
$summary = new FormattableMarkup('Completed: @completed/@total. Skipped: @skipped_count/@total.', $vars);
@@ -1008,7 +785,7 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -1008,7 +785,7 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -1028,7 +805,7 @@ class BatchOperations implements ContainerInjectionInterface {
@@ -1028,7 +805,7 @@ class BatchOperations implements ContainerInjectionInterface {