RdfMapping::getPreparedFieldMapping

public RdfMapping::getPreparedFieldMapping($field_name) Gets the prepared mapping for a field. The prepared field mapping should be used when outputting data in RDF serializations such as RDFa. In the prepared mapping, the mapping configuration's CURIE arrays are processed into CURIE strings suitable for output. Parameters string $field_name: The name of the field. Return value array The prepared field mapping, or an empty array if there is no mapping. Overrides RdfMappingInterface::getPrepar

RdfMapping::getPreparedBundleMapping

public RdfMapping::getPreparedBundleMapping() Gets the mapping for the bundle-level data. The prepared bundle mapping should be used when outputting data in RDF serializations such as RDFa. In the prepared mapping, the mapping configuration's CURIE arrays are processed into CURIE strings suitable for output. Return value array The bundle mapping. Overrides RdfMappingInterface::getPreparedBundleMapping File core/modules/rdf/src/Entity/RdfMapping.php, line 68 Class RdfMapping Config entity

RdfMapping::getFieldMapping

public RdfMapping::getFieldMapping($field_name) Gets the mapping config for a field. This function returns the field mapping as stored in config, which may contain CURIE arrays. If the mapping is needed for output in a serialization format, such as RDFa, then getPreparedFieldMapping() should be used instead. Parameters string $field_name: The name of the field. Return value array The field mapping config array, or an empty array if there is no mapping. Overrides RdfMappingInterface::getFieldM

RdfMapping::getBundleMapping

public RdfMapping::getBundleMapping() Gets the mapping config for the bundle-level data. This function returns the bundle mapping as stored in config, which may contain CURIE arrays. If the mapping is needed for output in a serialization format, such as RDFa, then getPreparedBundleMapping() should be used instead. Return value array The bundle mapping, or an empty array if there is no mapping. Overrides RdfMappingInterface::getBundleMapping File core/modules/rdf/src/Entity/RdfMapping.php, line

RdfMapping::calculateDependencies

public RdfMapping::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityBase::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/rdf/src/Entity/RdfMapping.php, line 137 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code public function calculateDependencies() { parent::calculateDependencies(); // Create depen

RdfMapping::$types

The RDF type mapping for this bundle. Type: array File core/modules/rdf/src/Entity/RdfMapping.php, line 56 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code protected $types = array();

RdfMapping::$targetEntityType

Entity type to be mapped. Type: string File core/modules/rdf/src/Entity/RdfMapping.php, line 42 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code protected $targetEntityType;

RdfMapping::$id

Unique ID for the config entity. Type: string File core/modules/rdf/src/Entity/RdfMapping.php, line 35 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code protected $id;

RdfMapping::$fieldMappings

The mappings for fields on this bundle. Type: array File core/modules/rdf/src/Entity/RdfMapping.php, line 63 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code protected $fieldMappings = array();

RdfMapping::$bundle

Bundle to be mapped. Type: string File core/modules/rdf/src/Entity/RdfMapping.php, line 49 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code protected $bundle;