Skip to content

Commit

Permalink
Fixes #3556, Fixes #3557 Regressions in AZEventTrellisViewsField, AZT…
Browse files Browse the repository at this point in the history
…rellisEventSource
  • Loading branch information
Troy Dean committed Jul 19, 2024
1 parent ba547da commit 786c7f9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@

namespace Drupal\az_event_trellis\Plugin\migrate\source;

use Drupal\migrate\Attribute\MigrateProcess;
use Drupal\migrate\Plugin\migrate\source\SourcePluginBase;
use Drupal\migrate\Plugin\MigrationInterface;

/**
* Source plugin for retrieving data via Trellis events.
*
* @MigrateSource(
* id = "az_trellis_events_api"
* )
*/
#[MigrateProcess('az_trellis_events_api')]
class AZTrellisEventSource extends SourcePluginBase {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,12 @@ public function viewsFormSubmit(&$form, FormStateInterface $form_state) {

}

/**
* {@inheritdoc}
*/
public function isWorkspaceSafeForm(array $form, FormStateInterface $form_state): bool {
// This field is not backed by an entity like BulkForm expects.
return FALSE;
}

}

0 comments on commit 786c7f9

Please sign in to comment.