You are here

class PhoneInternational in International Phone 3.x

Same name in this branch
  1. 3.x src/Feeds/Target/PhoneInternational.php \Drupal\phone_international\Feeds\Target\PhoneInternational
  2. 3.x src/Plugin/Field/FieldType/PhoneInternational.php \Drupal\phone_international\Plugin\Field\FieldType\PhoneInternational
Same name and namespace in other branches
  1. 8.2 src/Feeds/Target/PhoneInternational.php \Drupal\phone_international\Feeds\Target\PhoneInternational

Defines a password field mapper.

Plugin annotation


@FeedsTarget(
  id = "phone_international",
  field_types = {"phone_international"}
)

Hierarchy

  • class \Drupal\phone_international\Feeds\Target\PhoneInternational extends \Drupal\feeds\Plugin\Type\Target\FieldTargetBase

Expanded class hierarchy of PhoneInternational

File

src/Feeds/Target/PhoneInternational.php, line 17

Namespace

Drupal\phone_international\Feeds\Target
View source
class PhoneInternational extends FieldTargetBase {

  /**
   * {@inheritdoc}
   */
  protected static function prepareTarget(FieldDefinitionInterface $field_definition) {
    return FieldTargetDefinition::createFromFieldDefinition($field_definition)
      ->addProperty('value');
  }

}

Members