Jared Whiklo
8 years ago
28 changed files with 219 additions and 101 deletions
@ -0,0 +1,4 @@ |
|||||||
|
langcode: en |
||||||
|
id: non_rdf_source |
||||||
|
label: 'Non RDF Source' |
||||||
|
rdf_type: fedora:Binary |
@ -0,0 +1,4 @@ |
|||||||
|
langcode: en |
||||||
|
id: rdf_source |
||||||
|
label: 'RDF Source' |
||||||
|
rdf_type: fedora:Resource |
@ -0,0 +1,19 @@ |
|||||||
|
entity.fedora_resource.collection: |
||||||
|
path: '/admin/structure/fedora_resource' |
||||||
|
defaults: |
||||||
|
_entity_list: 'fedora_resource' |
||||||
|
_title: 'Fedora Resource' |
||||||
|
requirements: |
||||||
|
_permission: 'administer fedora resource entities' |
||||||
|
options: |
||||||
|
_admin_route: true |
||||||
|
|
||||||
|
entity.fedora_resource_type.collection: |
||||||
|
path: '/admin/structure/fedora_resource_type' |
||||||
|
defaults: |
||||||
|
_entity_list: 'fedora_resource_type' |
||||||
|
_title: 'Fedora Resource Type' |
||||||
|
requirements: |
||||||
|
_permission: 'administer fedora resource type entities' |
||||||
|
options: |
||||||
|
_admin_route: true |
@ -1,22 +0,0 @@ |
|||||||
<?php |
|
||||||
/** |
|
||||||
* @file |
|
||||||
* Contains \Drupal\islandoraclaw\FedoraResourceInterface. |
|
||||||
*/ |
|
||||||
|
|
||||||
namespace Drupal\islandoraclaw; |
|
||||||
|
|
||||||
use Drupal\Core\Entity\ContentEntityInterface; |
|
||||||
use Drupal\user\EntityOwnerInterface; |
|
||||||
use Drupal\Core\Entity\EntityChangedInterface; |
|
||||||
|
|
||||||
/** |
|
||||||
* Provides an interface for defining a Fedora 4 Resource entity. |
|
||||||
* |
|
||||||
* This interface extends multiple ones so we can use all the extended ones at once. |
|
||||||
* |
|
||||||
* @ingroup islandoraclaw |
|
||||||
*/ |
|
||||||
interface FedoraResourceInterface extends ContentEntityInterface, EntityOwnerInterface, EntityChangedInterface { |
|
||||||
|
|
||||||
} |
|
Loading…
Reference in new issue