final class RdfMappingEvents

Contains all events for mapping site schemas to external vocabularies.

Hierarchy

Expanded class hierarchy of RdfMappingEvents

3 files declare their use of RdfMappingEvents
MappingSubscriber.php in drupal/core/modules/rdf/lib/Drupal/rdf/EventSubscriber/MappingSubscriber.php
Contains MappingSubscriber.
RdfMappingManager.php in drupal/core/modules/rdf/lib/Drupal/rdf/RdfMappingManager.php
Contains RdfMappingManager.
TestMappingSubscriber.php in drupal/core/modules/rdf/tests/rdf_test_mapping/lib/Drupal/rdf_test_mapping/EventSubscriber/TestMappingSubscriber.php
Contains TestMappingSubscriber.

File

drupal/core/modules/rdf/lib/Drupal/rdf/RdfMappingEvents.php, line 13
Contains RdfMappingEvents.

Namespace

Drupal\rdf
View source
final class RdfMappingEvents {

  /**
   * Maps an array of incoming type URIs to a site schema URI.
   *
   * Modules can use this event to convert an RDF type from an externally
   * defined vocabulary to a URI defined in the site's schema. From the site
   * schema URI, the site can derive the Typed Data API ids, which can be used
   * to create an entity.
   *
   * @see \Drupal\rdf\RdfMappingManager
   *
   * @var string
   */
  const MAP_TYPES_FROM_INPUT = 'rdf.map_types_from_input';

}

Members

Namesort descending Modifiers Type Description Overrides
RdfMappingEvents::MAP_TYPES_FROM_INPUT constant Maps an array of incoming type URIs to a site schema URI.