You are here

class MissingTargetDefinition in Feeds 8.3

Definition for a missing target.

Hierarchy

Expanded class hierarchy of MissingTargetDefinition

1 file declares its use of MissingTargetDefinition
MappingForm.php in src/Form/MappingForm.php

File

src/MissingTargetDefinition.php, line 8

Namespace

Drupal\feeds
View source
class MissingTargetDefinition implements TargetDefinitionInterface {

  /**
   * {@inheritdoc}
   */
  public static function create() {
    return new static();
  }

  /**
   * {@inheritdoc}
   */
  public function getPluginId() {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function getLabel() {
    return t('Error: target is missing');
  }

  /**
   * {@inheritdoc}
   */
  public function getDescription() {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function hasProperty($property) {
    return TRUE;
  }

  /**
   * {@inheritdoc}
   */
  public function getProperties() {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function getPropertyLabel($property) {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function getPropertyDescription($property) {
    return NULL;
  }

  /**
   * {@inheritdoc}
   */
  public function isUnique($property) {
    return FALSE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MissingTargetDefinition::create public static function Helper factory method. Overrides TargetDefinitionInterface::create
MissingTargetDefinition::getDescription public function Returns the target description. Overrides TargetDefinitionInterface::getDescription
MissingTargetDefinition::getLabel public function Returns the target label. Overrides TargetDefinitionInterface::getLabel
MissingTargetDefinition::getPluginId public function Returns the target plugin id. Overrides TargetDefinitionInterface::getPluginId
MissingTargetDefinition::getProperties public function Returns the list of properties. Overrides TargetDefinitionInterface::getProperties
MissingTargetDefinition::getPropertyDescription public function Returns the description for a given property. Overrides TargetDefinitionInterface::getPropertyDescription
MissingTargetDefinition::getPropertyLabel public function Returns the label for a given property. Overrides TargetDefinitionInterface::getPropertyLabel
MissingTargetDefinition::hasProperty public function Returns whether this target has a given property. Overrides TargetDefinitionInterface::hasProperty
MissingTargetDefinition::isUnique public function Retuns whether a property is unique. Overrides TargetDefinitionInterface::isUnique