Search for __unset

  1. Search 7.x for __unset
  2. Search 9.5.x for __unset
  3. Search 8.9.x for __unset
  4. Search 10.3.x for __unset
  5. Other projects
Title Object type File name Summary
Attribute::offsetUnset function core/lib/Drupal/Core/Template/Attribute.php
AttributeArray::offsetUnset function core/lib/Drupal/Core/Template/AttributeArray.php
ConfigEntityBase::unsetThirdPartySetting function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Unsets a third-party setting.
ContentEntityBase::__unset function core/lib/Drupal/Core/Entity/ContentEntityBase.php Implements the magic method for unset().
DataDefinition::offsetUnset function core/lib/Drupal/Core/TypedData/DataDefinition.php This is for BC support only.
@todo Remove in https://www.drupal.org/node/1928868.
DefaultsSectionStorage::unsetThirdPartySetting function core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
DeprecatedArray::offsetUnset function core/lib/Drupal/Component/Utility/DeprecatedArray.php
Drupal::unsetContainer function core/lib/Drupal.php Unsets the global container.
FieldItemBase::__unset function core/lib/Drupal/Core/Field/FieldItemBase.php Magic method: Unsets a property.
FieldItemInterface::__unset function core/lib/Drupal/Core/Field/FieldItemInterface.php Magic method: Unsets a property.
FieldItemList::__unset function core/lib/Drupal/Core/Field/FieldItemList.php Magic method: Unsets a property of the first field item.
FieldItemListInterface::__unset function core/lib/Drupal/Core/Field/FieldItemListInterface.php Magic method: Unsets a property of the first field item.
FileTransfer::__unset function core/lib/Drupal/Core/FileTransfer/FileTransfer.php
FormStateDecoratorBase::unsetValue function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
FormStateDecoratorBaseTest::testUnsetValue function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::unsetValue
FormStateInterface::unsetValue function core/lib/Drupal/Core/Form/FormStateInterface.php Removes a specific key from the submitted form values.
FormStateValuesTrait::unsetValue function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::unsetValue()
InstalledPackagesList::offsetUnset function core/modules/package_manager/src/InstalledPackagesList.php
ItemList::offsetUnset function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
MigrateDefaultLanguageTest::testMigrationWithUnsetVariable function core/modules/language/tests/src/Kernel/Migrate/d6/MigrateDefaultLanguageTest.php Tests language_default migration with unset default language variable.
MigrateDefaultLanguageTest::testMigrationWithUnsetVariable function core/modules/language/tests/src/Kernel/Migrate/d7/MigrateDefaultLanguageTest.php Tests language_default migration with unset default language variable.
ModerationStateFieldItemListTest::testUnsetItemList function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Tests the field item when it is unset.
NestedArray::unsetValue function core/lib/Drupal/Component/Utility/NestedArray.php Unsets a value in a nested array with variable depth.
NestedArrayTest::testUnsetValue function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests unsetting nested array values.
PluginSettingsBase::unsetThirdPartySetting function core/lib/Drupal/Core/Field/PluginSettingsBase.php
Section::unsetThirdPartySetting function core/modules/layout_builder/src/Section.php Unsets a third-party setting.
SectionTest::providerTestUnsetThirdPartySetting function core/modules/layout_builder/tests/src/Unit/SectionTest.php Provides test data for ::testUnsetThirdPartySetting().
SectionTest::testUnsetThirdPartySetting function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::unsetThirdPartySetting
@dataProvider providerTestUnsetThirdPartySetting
SessionWorkspaceNegotiator::unsetActiveWorkspace function core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php Unsets the negotiated workspace.
TemporaryArrayObjectThrowingExceptions::offsetUnset function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Unsets the value at the specified index.
TestWorkspaceNegotiator::unsetActiveWorkspace function core/modules/workspaces/tests/modules/workspace_update_test/src/Negotiator/TestWorkspaceNegotiator.php Unsets the negotiated workspace.
ThirdPartySettingsInterface::unsetThirdPartySetting function core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php Unsets a third-party setting.
ViewUI::unsetLock function core/modules/views_ui/src/ViewUI.php Unsets the lock on this View.
ViewUI::unsetThirdPartySetting function core/modules/views_ui/src/ViewUI.php Unsets a third-party setting.
WorkspaceNegotiatorInterface::unsetActiveWorkspace function core/modules/workspaces/src/Negotiator/WorkspaceNegotiatorInterface.php Unsets the negotiated workspace.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.