Created
May 21, 2018 12:49
-
-
Save wesruv/1e22e9a972d1f41c6557741c4e560cf6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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