class MigrateCckField extends MigrateField (View source)

deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Annotation\MigrateField instead. Plugin Namespace: Plugin\migrate\cckfield

Deprecated: Defines a cckfield plugin annotation object.

Properties

protected array $definition

The plugin definition read from the class annotation.

from  Plugin
string $id

The plugin ID.

from  MigrateField
string[] $type_map

Map of D6 and D7 field types to D8 field type plugin IDs.

from  MigrateField
int[] $core

The Drupal core version(s) this plugin applies to.

from  MigrateField
string $source_module

Identifies the system providing the data the field plugin will read.

from  MigrateField
string $destination_module

Identifies the system handling the data the destination plugin will write.

from  MigrateField
int $weight

The weight of this plugin relative to other plugins.

from  MigrateField

Methods

__construct($values)

Constructs a Plugin object.

array
parse(array $values)

Parses an annotation into its definition.

from  Plugin
get()

Gets the value of an annotation.

from  Plugin
string
getProvider()

Gets the name of the provider of the annotated class.

from  Plugin
setProvider(string $provider)

Sets the name of the provider of the annotated class.

from  Plugin
string
getId()

Gets the unique ID for this annotated class.

from  Plugin
string
getClass()

Gets the class of the annotated class.

from  Plugin
setClass(string $class)

Sets the class of the annotated class.

from  Plugin

Details

__construct($values)

Constructs a Plugin object.

Builds up the plugin definition and invokes the get() method for any classed annotations that were used.

Parameters

$values

protected array parse(array $values)

Parses an annotation into its definition.

Parameters

array $values

The annotation array.

Return Value

array

The parsed annotation as a definition.

get()

Gets the value of an annotation.

string getProvider()

Gets the name of the provider of the annotated class.

Return Value

string

setProvider(string $provider)

Sets the name of the provider of the annotated class.

Parameters

string $provider

string getId()

Gets the unique ID for this annotated class.

Return Value

string

string getClass()

Gets the class of the annotated class.

Return Value

string

setClass(string $class)

Sets the class of the annotated class.

Parameters

string $class