Search for create

  1. Search 7.x for create
  2. Search 9.5.x for create
  3. Search 8.9.x for create
  4. Search 10.3.x for create
  5. Other projects
Title Object type File name Summary
PackageManagerKernelTestBase::createTestProject function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php Creates a test project.
Page::create function core/modules/views/src/Plugin/views/display/Page.php Instantiates a new instance of the implementing class using autowiring.
PageActions::create function core/modules/navigation/src/Plugin/TopBarItem/PageActions.php Creates an instance of the plugin.
PageContext::create function core/modules/navigation/src/Plugin/TopBarItem/PageContext.php Creates an instance of the plugin.
PagerManager::createPager function core/lib/Drupal/Core/Pager/PagerManager.php Initializes a pager.
PagerManagerInterface::createPager function core/lib/Drupal/Core/Pager/PagerManagerInterface.php Initializes a pager.
PagerTest::createTranslation function core/modules/views/tests/src/Functional/Plugin/PagerTest.php Creates single translation for source string.
PagerTest::createViewAtPath function core/modules/views/tests/src/Functional/Wizard/PagerTest.php Create a simple View of nodes at a given path.
PathAliasConstraintValidator::create function core/modules/path/src/Plugin/Validation/Constraint/PathAliasConstraintValidator.php Instantiates a new instance of this class.
PathAliasListBuilder::createInstance function core/modules/path/src/PathAliasListBuilder.php Instantiates a new instance of this entity handler.
PathAliasResourceTestBase::$firstCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the first created entity in doTestPost().
PathAliasResourceTestBase::$secondCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the second created entity in doTestPost().
PathAliasResourceTestBase::createEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Creates the entity to be tested.
PathAliasStorage::createWithSampleValues function core/modules/path_alias/src/PathAliasStorage.php Creates an entity with sample field values.
PathAliasTest::createEntity function core/modules/jsonapi/tests/src/Functional/PathAliasTest.php Creates the entity to be tested.
PathAliasTestTrait::createPathAlias function core/tests/Drupal/Tests/Traits/Core/PathAliasTestTrait.php Creates a new path alias.
PathHooks::entityTranslationCreate function core/modules/path/src/Hook/PathHooks.php Implements hook_entity_translation_create().
PerformanceForm::create function core/modules/system/src/Form/PerformanceForm.php Instantiates a new instance of the implementing class using autowiring.
PermissionsPerBundle::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/PermissionsPerBundle.php Creates an instance of the plugin.
PermissionsPerBundleDeriver::create function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/Deriver/PermissionsPerBundleDeriver.php Creates a new class instance.
PhpArrayContainer::createService function core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php Creates a service from a service definition.
PhpBackendTest::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/PhpBackendTest.php Creates a new instance of MemoryBackend.
PhpMailTest::createPhpMailInstance function core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php Creates a mocked PhpMail object.
PhpUnitTestRunner::create function core/lib/Drupal/Core/Test/PhpUnitTestRunner.php Instantiates a new instance of this class.
PirateDayCacheabilityMetadataConfigOverride::createConfigObject function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php Creates a configuration object for use during install and synchronization.
PlaceBlock::create function core/modules/block/src/Plugin/ConfigAction/PlaceBlock.php Creates an instance of the plugin.
PlaceholderGenerator::canCreatePlaceholder function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Analyzes whether the given render array can be placeholdered.
PlaceholderGenerator::createPlaceholder function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Turns the given element into a placeholder.
PlaceholderGenerator::createPlaceholderTag function core/lib/Drupal/Core/Render/PlaceholderGenerator.php Generates a placeholder HTML tag.
PlaceholderGeneratorInterface::canCreatePlaceholder function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Analyzes whether the given render array can be placeholdered.
PlaceholderGeneratorInterface::createPlaceholder function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Turns the given element into a placeholder.
PlaceholderGeneratorInterface::createPlaceholderTag function core/lib/Drupal/Core/Render/PlaceholderGeneratorInterface.php Generates a placeholder HTML tag.
PlaceholderGeneratorTest::providerCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
PlaceholderGeneratorTest::testCreatePlaceholderGeneratesValidHtmlMarkup function core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php Ensure that the generated placeholder markup is valid.
PlaceholderingRenderCache::createPlaceholderAndRemember function core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php Create a placeholder for a renderable array and remember in a static cache.
Plugin::unpackOnCreateProject function composer/Plugin/RecipeUnpack/Plugin.php Post create-project command event callback.
PluginBase::create function core/lib/Drupal/Core/Plugin/PluginBase.php Instantiates a new instance of the implementing class using autowiring.
PluginExistsConstraint::create function core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraint.php Creates an instance of the plugin.
PluginFormFactory::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactory.php Creates a new form instance.
PluginFormFactoryInterface::createInstance function core/lib/Drupal/Core/Plugin/PluginFormFactoryInterface.php Creates a new form instance.
PluginFormFactoryTest::testCreateInstance function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance.
PluginFormFactoryTest::testCreateInstanceDefaultFallback function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance default fallback.
PluginFormFactoryTest::testCreateInstanceDefinitionException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance definition exception.
PluginFormFactoryTest::testCreateInstanceInvalidException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance invalid exception.
PluginFormFactoryTest::testCreateInstancePluginAware function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance plugin aware.
PluginFormFactoryTest::testCreateInstanceUsingPlugin function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance using plugin.
PluginFormFactoryTest::testCreateInstanceUsingPluginWithSlashes function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php Tests create instance using plugin with slashes.
PluginManagerBase::createInstance function core/lib/Drupal/Component/Plugin/PluginManagerBase.php Creates a plugin instance based on the provided ID and configuration.
PluginManagerBaseTest::createInstanceCallback function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php A callback method for mocking FactoryInterface objects.
PluginManagerBaseTest::testCreateInstance function core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php Tests createInstance() with no fallback methods.

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