Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
PhpRequirementTest::testStatusPage function core/modules/system/tests/src/Functional/System/PhpRequirementTest.php Tests status report messages regarding the PHP version.
PhpScriptFilter class core/tests/phpcs/PhpScriptFilter.php Allows .sh files explicitly listed in phpcs.xml.dist to be scanned as PHP.
PhpScriptFilter.php file core/tests/phpcs/PhpScriptFilter.php
PhpScriptFilter::shouldProcessFile function core/tests/phpcs/PhpScriptFilter.php
PhpSelection class core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php Defines an alternative to the default Entity Reference Selection plugin.
PhpSelection.php file core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php
PhpSelection::countReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php
PhpSelection::getReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php
PhpSelection::matchLabel function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php Matches an entity label to an input string.
PhpSerialize class core/lib/Drupal/Component/Serialization/PhpSerialize.php Default serialization for serialized PHP.
PhpSerialize.php file core/lib/Drupal/Component/Serialization/PhpSerialize.php
PhpSerialize::decode function core/lib/Drupal/Component/Serialization/PhpSerialize.php
PhpSerialize::encode function core/lib/Drupal/Component/Serialization/PhpSerialize.php
PhpSerialize::getFileExtension function core/lib/Drupal/Component/Serialization/PhpSerialize.php
PhpStorageFactory class core/lib/Drupal/Core/PhpStorage/PhpStorageFactory.php Creates a php storage object.
PhpStorageFactory.php file core/lib/Drupal/Core/PhpStorage/PhpStorageFactory.php
PhpStorageFactory::get function core/lib/Drupal/Core/PhpStorage/PhpStorageFactory.php Instantiates a storage for generated PHP code.
PhpStorageFactoryTest class core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the PHP storage factory.
PhpStorageFactoryTest.php file core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php
PhpStorageFactoryTest::setSettings function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Sets the Settings() singleton.
PhpStorageFactoryTest::setUp function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php
PhpStorageFactoryTest::testGetDefault function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the get() method using the 'default' settings.
PhpStorageFactoryTest::testGetNoSettings function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the get() method with no settings.
PhpStorageFactoryTest::testGetOverride function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the get() method with overridden settings.
PhpStorageInterface interface core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Stores and loads PHP code.
PhpStorageInterface.php file core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php
PhpStorageInterface::delete function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Deletes PHP code from storage.
PhpStorageInterface::deleteAll function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Removes all files in this bin.
PhpStorageInterface::exists function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Checks whether the PHP code exists in storage.
PhpStorageInterface::garbageCollection function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Performs garbage collection on the storage.
PhpStorageInterface::getFullPath function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Gets the full file path.
PhpStorageInterface::listAll function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Lists all the files in the storage.
PhpStorageInterface::load function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Loads PHP code from storage.
PhpStorageInterface::save function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Saves PHP code to storage.
PhpStorageTestBase class core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php Base test for PHP storages.
PhpStorageTestBase.php file core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php
PhpStorageTestBase::$directory property core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php A unique per test class directory path to test php storage.
PhpStorageTestBase::additionalAssertCRUD function core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php Additional asserts to be run.
PhpStorageTestBase::assertCRUD function core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php Assert that a PHP storage's load/save/delete operations work.
PhpStorageTestBase::setUp function core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php
PhpStreamWrapperInterface interface core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Defines a generic PHP stream wrapper interface.
PhpStreamWrapperInterface.php file core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php
PhpStreamWrapperInterface::dir_closedir function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Close directory handle.
PhpStreamWrapperInterface::dir_opendir function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Open directory handle.
PhpStreamWrapperInterface::dir_readdir function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Read entry from directory handle.
PhpStreamWrapperInterface::dir_rewinddir function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Rewind directory handle.
PhpStreamWrapperInterface::mkdir function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Create a directory.
PhpStreamWrapperInterface::rename function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Renames a file or directory.
PhpStreamWrapperInterface::rmdir function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Removes a directory.
PhpStreamWrapperInterface::stream_cast function core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php Retrieve the underlying stream resource.

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