Drupal 8  8.0.2
User Class Reference
Inheritance diagram for User:

Public Member Functions

 __construct (array $configuration, $plugin_id, $plugin_definition, ModuleHandlerInterface $module_handler)
 
 buildMigrations (array $template)
 

Static Public Member Functions

static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 

Protected Attributes

 $moduleHandler
 

Additional Inherited Members

- Protected Member Functions inherited from BuilderBase
 getSourcePlugin ($plugin_id, array $configuration=[])
 

Detailed Description

("d7_user")

Constructor & Destructor Documentation

__construct ( array  $configuration,
  $plugin_id,
  $plugin_definition,
ModuleHandlerInterface  $module_handler 
)

Constructs a d7_user builder plugin instance.

Parameters
array$configurationThe plugin configuration.
string$plugin_idThe plugin ID.
mixed$plugin_definitionThe plugin definition.
\Drupal\Core\Extension\ModuleHandlerInterface$module_handlerThe module handler service.

References Drupal\moduleHandler().

Here is the call graph for this function:

Member Function Documentation

buildMigrations ( array  $template)

{Builds migration entities based on a template.

Parameters
array$templateThe parsed template.
Returns
[] The unsaved migrations generated from the template.
}

Implements MigrateBuilderInterface.

References Entity\create(), BuilderBase\getSourcePlugin(), and Drupal\moduleHandler().

Here is the call graph for this function:

static create ( ContainerInterface  $container,
array  $configuration,
  $plugin_id,
  $plugin_definition 
)
static

{Creates an instance of the plugin.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerThe container to pull out services used in the plugin.
array$configurationA configuration array containing information about the plugin instance.
string$plugin_idThe plugin ID for the plugin instance.
mixed$plugin_definitionThe plugin implementation definition.
Returns
static Returns an instance of this plugin.
}

Implements ContainerFactoryPluginInterface.


The documentation for this class was generated from the following file: