MediaLibraryState.php |
file |
core/modules/media_library/src/MediaLibraryState.php |
|
MediaLibraryState::create |
function |
core/modules/media_library/src/MediaLibraryState.php |
Creates a new MediaLibraryState object. |
MediaLibraryState::fromRequest |
function |
core/modules/media_library/src/MediaLibraryState.php |
Get the media library state from a request. |
MediaLibraryState::getAllowedTypeIds |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns the media type IDs which can be selected. |
MediaLibraryState::getAvailableSlots |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns the number of additional media items that can be selected. |
MediaLibraryState::getCacheContexts |
function |
core/modules/media_library/src/MediaLibraryState.php |
The cache contexts associated with this object. |
MediaLibraryState::getCacheMaxAge |
function |
core/modules/media_library/src/MediaLibraryState.php |
The maximum age for which this object may be cached. |
MediaLibraryState::getCacheTags |
function |
core/modules/media_library/src/MediaLibraryState.php |
The cache tags associated with this object. |
MediaLibraryState::getHash |
function |
core/modules/media_library/src/MediaLibraryState.php |
Get the hash for the state object. |
MediaLibraryState::getOpenerId |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns the ID of the media library opener service. |
MediaLibraryState::getOpenerParameters |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns all opener-specific parameter values. |
MediaLibraryState::getSelectedTypeId |
function |
core/modules/media_library/src/MediaLibraryState.php |
Returns the selected media type. |
MediaLibraryState::hasSlotsAvailable |
function |
core/modules/media_library/src/MediaLibraryState.php |
Determines if additional media items can be selected. |
MediaLibraryState::isValidHash |
function |
core/modules/media_library/src/MediaLibraryState.php |
Validate a hash for the state object. |
MediaLibraryState::validateRequiredParameters |
function |
core/modules/media_library/src/MediaLibraryState.php |
Validates the required parameters for a new MediaLibraryState object. |
MediaLibraryState::__construct |
function |
core/modules/media_library/src/MediaLibraryState.php |
|
MediaLibraryStateTest |
class |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests the media library state value object. |
MediaLibraryStateTest.php |
file |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
|
MediaLibraryStateTest::$modules |
property |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Modules to install. |
MediaLibraryStateTest::providerCreate |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Data provider for testCreate(). |
MediaLibraryStateTest::providerFromRequest |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Data provider for testFromRequest(). |
MediaLibraryStateTest::setUp |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
|
MediaLibraryStateTest::testCreate |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests the media library state creation. |
MediaLibraryStateTest::testFromRequest |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests the hash validation when the state is created from a request. |
MediaLibraryStateTest::testFromRequestQueryLess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
@covers ::fromRequest[[api-linebreak]] |
MediaLibraryStateTest::testHashUnaffectedByMediaTypeOrder |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests that hash is unaffected by allowed media type order. |
MediaLibraryStateTest::testHashUnaffectedByOpenerParamOrder |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests that hash is unaffected by opener parameter order. |
MediaLibraryStateTest::testMethods |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
Tests the media library state methods. |
MediaLibraryStateTest::testOpenerParameters |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php |
@covers ::getOpenerParameters[[api-linebreak]] |
MediaLibraryWidget::getFieldState |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Gets the field state for the widget. |
MediaLibraryWidget::setFieldState |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Sets the field state for the widget. |
MediaLibraryWidgetTest::assertMediaLibraryStateAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php |
Assert if the given user has access to the given state. |
MediaTypeForm::getSourceSubFormState |
function |
core/modules/media/src/MediaTypeForm.php |
Gets subform state for the media source configuration subform. |
MigrateEventsTest::$state |
property |
core/modules/migrate/tests/src/Kernel/MigrateEventsTest.php |
State service for recording information received by event listeners. |
migrate_drupal.migration_state |
service |
core/modules/migrate_drupal/migrate_drupal.services.yml |
Drupal\migrate_drupal\MigrationState |
migrate_state_finished_test.info.yml |
file |
core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrate_state_finished_test.info.yml |
core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrate_state_finished_test.info.yml |
migrate_state_finished_test.migrate_drupal.yml |
file |
core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrations/state/migrate_state_finished_test.migrate_drupal.yml |
core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrations/state/migrate_state_finished_test.migrate_drupal.yml |
migrate_state_finished_test.yml |
file |
core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrations/migrate_state_finished_test.yml |
core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrations/migrate_state_finished_test.yml |
migrate_state_finished_test1.yml |
file |
core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrations/migrate_state_finished_test1.yml |
core/modules/migrate_drupal/tests/modules/migrate_state_finished_test/migrations/migrate_state_finished_test1.yml |
migrate_state_not_finished_test.info.yml |
file |
core/modules/migrate_drupal/tests/modules/migrate_state_not_finished_test/migrate_state_not_finished_test.info.yml |
core/modules/migrate_drupal/tests/modules/migrate_state_not_finished_test/migrate_state_not_finished_test.info.yml |
migrate_state_not_finished_test.migrate_drupal.yml |
file |
core/modules/migrate_drupal/tests/modules/migrate_state_not_finished_test/migrations/state/migrate_state_not_finished_test.migrate_drupal.yml |
core/modules/migrate_drupal/tests/modules/migrate_state_not_finished_test/migrations/state/migrate_state_not_finished_test.migrate_drupal.yml |
migrate_state_no_upgrade_path.info.yml |
file |
core/modules/migrate_drupal/tests/modules/migrate_state_no_upgrade_path/migrate_state_no_upgrade_path.info.yml |
core/modules/migrate_drupal/tests/modules/migrate_state_no_upgrade_path/migrate_state_no_upgrade_path.info.yml |
MigrationConfigurationTrait::$state |
property |
core/modules/migrate_drupal/src/MigrationConfigurationTrait.php |
The state service. |
MigrationConfigurationTrait::createDatabaseStateSettings |
function |
core/modules/migrate_drupal/src/MigrationConfigurationTrait.php |
Creates the necessary state entries for SqlBase::getDatabase() to work. |
MigrationConfigurationTrait::getState |
function |
core/modules/migrate_drupal/src/MigrationConfigurationTrait.php |
Gets the state service. |
MigrationState |
class |
core/modules/migrate_drupal/src/MigrationState.php |
Determines the migrate state for all modules enabled on the source. |
MigrationState.php |
file |
core/modules/migrate_drupal/src/MigrationState.php |
|
MigrationState::$declaredBySource |
property |
core/modules/migrate_drupal/src/MigrationState.php |
An array of destinations declared for each source migration. |
MigrationState::$destinations |
property |
core/modules/migrate_drupal/src/MigrationState.php |
An array of migration source and destinations. |
MigrationState::$discoveredBySource |
property |
core/modules/migrate_drupal/src/MigrationState.php |
An array of migration source and destinations derived from migrations. |