MigrationState::$enabledModules |
property |
core/modules/migrate_drupal/src/MigrationState.php |
Array of enabled modules. |
MigrationState::$fieldPluginManager |
property |
core/modules/migrate_drupal/src/MigrationState.php |
The field plugin manager service. |
MigrationState::$moduleHandler |
property |
core/modules/migrate_drupal/src/MigrationState.php |
The field plugin manager service. |
MigrationState::$stateBySource |
property |
core/modules/migrate_drupal/src/MigrationState.php |
An array of migration states declared for each source migration. |
MigrationState::buildDeclaredStateBySource |
function |
core/modules/migrate_drupal/src/MigrationState.php |
Gets migration data from *.migrate_drupal.yml sorted by source module. |
MigrationState::buildDiscoveredDestinationsBySource |
function |
core/modules/migrate_drupal/src/MigrationState.php |
Builds migration source and destination module information. |
MigrationState::buildUpgradeState |
function |
core/modules/migrate_drupal/src/MigrationState.php |
Determines migration state for each source module enabled on the source. |
MigrationState::FINISHED |
constant |
core/modules/migrate_drupal/src/MigrationState.php |
Source module upgrade state when all its migrations are complete. |
MigrationState::getDestinationsForSource |
function |
core/modules/migrate_drupal/src/MigrationState.php |
Get net destinations for source module. |
MigrationState::getMigrationStates |
function |
core/modules/migrate_drupal/src/MigrationState.php |
Gets migration state information from *.migrate_drupal.yml. |
MigrationState::getSourceState |
function |
core/modules/migrate_drupal/src/MigrationState.php |
Tests if a destination exists for the given source module. |
MigrationState::getUpgradeStates |
function |
core/modules/migrate_drupal/src/MigrationState.php |
Gets the upgrade states for all enabled source modules. |
MigrationState::NOT_FINISHED |
constant |
core/modules/migrate_drupal/src/MigrationState.php |
Source module upgrade state when all its migrations are not complete. |
MigrationState::__construct |
function |
core/modules/migrate_drupal/src/MigrationState.php |
Construct a new MigrationState object. |
MigrationStateUnitTest |
class |
core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php |
Defines a class for testing \Drupal\migrate_drupal\MigrationState. |
MigrationStateUnitTest.php |
file |
core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php |
|
MigrationStateUnitTest::providerGetUpgradeStates |
function |
core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php |
Data provider for testGetUpgradeStates. |
MigrationStateUnitTest::testGetUpgradeStates |
function |
core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php |
Tests ::getUpgradeStates. |
MockPathLocator::$state |
property |
core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php |
The state service. |
ModerationFormTest::testAlternativeModerationStateWidget |
function |
core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php |
Tests the moderation_state field when an alternative widget is set. |
ModerationInformation::getOriginalState |
function |
core/modules/content_moderation/src/ModerationInformation.php |
Gets the original or initial state of the given entity. |
ModerationInformationInterface::getOriginalState |
function |
core/modules/content_moderation/src/ModerationInformationInterface.php |
Gets the original or initial state of the given entity. |
ModerationInformationTest::testGetOriginalState |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php |
@covers ::getOriginalState[[api-linebreak]] |
ModerationInformationTest::testGetOriginalStateMultilingual |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php |
@covers ::getOriginalState[[api-linebreak]] |
ModerationStateAccessTest |
class |
core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php |
Tests the view access control handler for moderation state entities. |
ModerationStateAccessTest.php |
file |
core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php |
|
ModerationStateAccessTest::$defaultTheme |
property |
core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php |
The theme to install as the default for testing. |
ModerationStateAccessTest::$modules |
property |
core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php |
Modules to install. |
ModerationStateAccessTest::setUp |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php |
|
ModerationStateAccessTest::testViewShowsCorrectStates |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateAccessTest.php |
Tests the view operation access handler with the view permission. |
ModerationStateBlockTest |
class |
core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php |
Tests general content moderation workflow for blocks. |
ModerationStateBlockTest.php |
file |
core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php |
|
ModerationStateBlockTest::$defaultTheme |
property |
core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php |
The theme to install as the default for testing. |
ModerationStateBlockTest::getAdministratorPermissions |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php |
|
ModerationStateBlockTest::setUp |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php |
Sets the test up. |
ModerationStateBlockTest::testCustomBlockModeration |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateBlockTest.php |
Tests moderating content blocks. |
ModerationStateConstraint |
class |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php |
Verifies that nodes have a valid moderation state. |
ModerationStateConstraint.php |
file |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php |
|
ModerationStateConstraint::$invalidStateMessage |
property |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php |
The violation message when there is an invalid stated. |
ModerationStateConstraint::$invalidTransitionAccess |
property |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php |
The violation message when there is an invalid transition. |
ModerationStateConstraint::$message |
property |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraint.php |
The default violation message. |
ModerationStateConstraintValidator |
class |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
Checks if a moderation state transition is valid. |
ModerationStateConstraintValidator.php |
file |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
|
ModerationStateConstraintValidator::$currentUser |
property |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
The current user. |
ModerationStateConstraintValidator::$entityTypeManager |
property |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
The entity type manager. |
ModerationStateConstraintValidator::$moderationInformation |
property |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
The moderation info. |
ModerationStateConstraintValidator::$stateTransitionValidation |
property |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
The state transition validation service. |
ModerationStateConstraintValidator::create |
function |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
Instantiates a new instance of this class. |
ModerationStateConstraintValidator::validate |
function |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
|
ModerationStateConstraintValidator::__construct |
function |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
Creates a new ModerationStateConstraintValidator instance. |