MigrateStatusCommand
final class MigrateStatusCommand extends Command (View source)
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Constants
NAME |
|
Properties
protected FormatterOptions | $formatterOptions | from FormatterTrait | |
protected MigrationPluginManagerInterface|null | $migrationPluginManager | from MigrateRunnerTrait | |
protected KeyValueStoreInterface | $keyValue | from MigrateRunnerTrait |
Methods
Instantiates a new instance of the implementing class using autowiring.
Filter, format, and write to the output
If the source data was wrapped in a marker class such as RowsOfFields, then re-apply the wrapper.
Public because is used by FormatterListener.
Provide a migration plugin manager.
Returns the migration source rows count.
Returns the number of items that needs update.
Returns the number of unprocessed items.
Returns the number of imported items.
Returns the last imported date/time if any.
Pads an incomplete table row with empty cells.
Retrieves a list of active migrations.
Returns the migrate message logger.
No description
No description
No description
No description
Details
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
protected void
writeFormattedOutput(InputInterface $input, OutputInterface $output, $data)
Filter, format, and write to the output
protected mixed
alterResult($result, InputInterface $input)
No description
protected
wrapFilteredResult($data, $source)
If the source data was wrapped in a marker class such as RowsOfFields, then re-apply the wrapper.
protected FormatterOptions
getFormatterOptions()
No description
void
setFormatterOptions(FormatterOptions $formatterOptions)
Public because is used by FormatterListener.
protected mixed
getPrivatePropValue(mixed $object, $name)
No description
setMigrationPluginManager(MigrationPluginManagerInterface $migrationPluginManager)
Provide a migration plugin manager.
protected int|null
getMigrationSourceRowsCount(MigrationInterface $migration)
Returns the migration source rows count.
protected int
getMigrationNeedingUpdateCount(MigrationInterface $migration)
Returns the number of items that needs update.
protected int|null
getMigrationUnprocessedCount(MigrationInterface $migration)
Returns the number of unprocessed items.
protected int|null
getMigrationImportedCount(MigrationInterface $migration)
Returns the number of imported items.
protected string
getMigrationLastImportedTime(MigrationInterface $migration, DateFormatterInterface $dateFormatter)
Returns the last imported date/time if any.
protected array
padTableRow(array $row, array $fields)
Pads an incomplete table row with empty cells.
protected array
getMigrationList(string|null $migrationIds, string|null $tags)
Retrieves a list of active migrations.
protected MigrateMessageInterface
getMigrateMessage()
Returns the migrate message logger.
protected array
getSourceIdKeys(MigrateIdMapInterface $idMap)
Get the source ID keys.
protected array
preprocessMessageRow(StdClass $row, array $sourceIdKeys)
Preprocesses migrate message rows.
Given an item inside the list generated by MigrateIdMapInterface::getMessages(), prepare it for display.
__construct(DateFormatterInterface $dateFormatter, KeyValueFactoryInterface $keyValueFactory, FormatterManager $formatterManager, LoggerInterface $logger, ContainerInterface $container)
No description
protected void
configure()
No description
int
execute(InputInterface $input, OutputInterface $output)
No description
RowsOfFields
doExecute(InputInterface $input, OutputInterface $output)
No description