Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesruv/1e22e9a972d1f41c6557741c4e560cf6 to your computer and use it in GitHub Desktop.
Save wesruv/1e22e9a972d1f41c6557741c4e560cf6 to your computer and use it in GitHub Desktop.
<?php
/**
* @file
* Contains \Drupal\scs_restful_events\Plugin\resource\events\Events__1_0.
*/
namespace Drupal\scs_restful_events\Plugin\resource\events;
/**
* Class Events__1_0
* @package Drupal\scs_restful_events\Plugin\resource\events
*
* @Resource(
* name = "events:1.0",
* resource = "events",
* label = "Events",
* description = "Export the events with all authentication providers.",
* authenticationTypes = TRUE,
* authenticationOptional = TRUE,
* dataProvider = {
* "entityType": "node",
* "bundles": {
* "calendar_event"
* },
* },
* majorVersion = 1,
* minorVersion = 0
* )
*/
class Events__1_0 implements ResourceInterface {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment