Search for create

  1. Search 8.x-1.x for create
  2. Search 7.x-1.x for create
  3. Search 6.x-1.x for create
  4. Search 4.0.x for create
  5. Other projects
Title Object type File name Summary
BasicExample::create function modules/action_example/src/Plugin/Action/BasicExample.php Creates an instance of the plugin.
CacheExampleForm::create function modules/cache_example/src/Form/CacheExampleForm.php Instantiates a new instance of this class.
CacheExampleForm::createExpiringItem function modules/cache_example/src/Form/CacheExampleForm.php Submit handler to create a new cache item with specified expiration.
Contact::preCreate function modules/content_entity_example/src/Entity/Contact.php When a new entity instance is added, set the user_id entity reference to
the current user as the creator of the instance.
ContactAccessControlHandler::checkCreateAccess function modules/content_entity_example/src/ContactAccessControlHandler.php Separate from the checkAccess because the entity does not yet exist. It
will be created during the 'add' process.
ContactListBuilder::createInstance function modules/content_entity_example/src/Entity/Controller/ContactListBuilder.php Instantiates a new instance of this entity handler.
ContentEntityExampleTest::testCreateAdminPermission function modules/content_entity_example/tests/src/Functional/ContentEntityExampleTest.php Ensure admin and permissioned users can create contacts.
ContrivedController::create function modules/testing_example/src/Controller/ContrivedController.php Instantiates a new instance of this class.
CronExampleForm::create function modules/cron_example/src/Form/CronExampleForm.php Instantiates a new instance of this class.
DbtngExampleAddForm::create function modules/dbtng_example/src/Form/DbtngExampleAddForm.php We'll use the ContainerInjectionInterface pattern here to inject the
current user and also get the string_translation service.
DbtngExampleController::create function modules/dbtng_example/src/Controller/DbtngExampleController.php Instantiates a new instance of this class.
DbtngExampleUpdateForm::create function modules/dbtng_example/src/Form/DbtngExampleUpdateForm.php Instantiates a new instance of this class.
EmailExampleGetFormPage::create function modules/email_example/src/Form/EmailExampleGetFormPage.php Instantiates a new instance of this class.
EntityAutocomplete::create function modules/ajax_example/src/Form/EntityAutocomplete.php Container injection factory.
EventsExampleForm::create function modules/events_example/src/Form/EventsExampleForm.php Instantiates a new instance of this class.
ExampleFunctionalTest::testNewPageApiCreate function modules/testing_example/tests/src/Functional/ExampleFunctionalTest.php Demonstrate node creation via NodeCreationTrait::createNode.
ExampleMeatballSandwich::create function modules/plugin_type_example/src/Plugin/Sandwich/ExampleMeatballSandwich.php Creates an instance of the plugin.
FieldExampleBrowserTestBase::createField function modules/field_example/tests/src/Functional/FieldExampleBrowserTestBase.php Create a field on the content type created during setUp().
MockSessionTrait::createSessionMock function modules/stream_wrapper_example/tests/src/Traits/MockSessionTrait.php Create a mock session object.
ModalForm::create function modules/form_api_example/src/Form/ModalForm.php Instantiates a new instance of this class.
PagerExamplePage::create function modules/pager_example/src/Controller/PagerExamplePage.php Instantiates a new instance of this class.
PluginTypeExampleController::create function modules/plugin_type_example/src/Controller/PluginTypeExampleController.php Override the parent method so that we can inject our sandwich plugin
manager service into the controller.
QueueExampleForm::create function modules/queue_example/src/Form/QueueExampleForm.php Instantiates a new instance of this class.
RenderExampleController::create function modules/render_example/src/Controller/RenderExampleController.php Instantiates a new instance of this class.
RenderExampleDemoForm::create function modules/render_example/src/Form/RenderExampleDemoForm.php Instantiates a new instance of this class.
ReportWorkerBase::create function modules/cron_example/src/Plugin/QueueWorker/ReportWorkerBase.php Creates an instance of the plugin.
RestExampleClientCalls::create function modules/rest_example/src/RestExampleClientCalls.php Create a node on the remote server, using POST.
RestExampleClientController::create function modules/rest_example/src/Controller/RestExampleClientController.php Instantiates a new instance of this class.
RestExampleClientDelete::create function modules/rest_example/src/Form/RestExampleClientDelete.php Instantiates a new instance of this class.
RestExampleClientEdit::create function modules/rest_example/src/Form/RestExampleClientEdit.php Instantiates a new instance of this class.
RobotFormBase::create function modules/config_entity_example/src/Form/RobotFormBase.php Factory method for RobotFormBase.
SessionExampleForm::create function modules/session_example/src/Form/SessionExampleForm.php Instantiates a new instance of this class.
SimpleFormBlock::create function modules/form_api_example/src/Plugin/Block/SimpleFormBlock.php Creates an instance of the plugin.
TableDragExampleNestedForm::create function modules/tabledrag_example/src/Form/TableDragExampleNestedForm.php Instantiates a new instance of this class.
TableDragExampleResetForm::create function modules/tabledrag_example/src/Form/TableDragExampleResetForm.php Instantiates a new instance of this class.
TableDragExampleRootLeafForm::create function modules/tabledrag_example/src/Form/TableDragExampleRootLeafForm.php Instantiates a new instance of this class.
TableDragExampleSimpleForm::create function modules/tabledrag_example/src/Form/TableDragExampleSimpleForm.php Instantiates a new instance of this class.
TableSortExampleController::create function modules/tablesort_example/src/Controller/TableSortExampleController.php Instantiates a new instance of this class.
Wizard::create function modules/ajax_example/src/Form/Wizard.php Instantiates a new instance of this class.