Search for create

  1. Search 3.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
CacheExampleForm::create function cache_example/src/Form/CacheExampleForm.php
CacheExampleForm::createExpiringItem function cache_example/src/Form/CacheExampleForm.php Submit handler to create a new cache item with specified expiration.
Contact::preCreate function 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 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 content_entity_example/src/Entity/Controller/ContactListBuilder.php
ContentEntityExampleTest::testCreateAdminPermission function content_entity_example/tests/src/Functional/ContentEntityExampleTest.php Ensure admin and permissioned users can create contacts.
ContrivedController::create function testing_example/src/Controller/ContrivedController.php
CronExampleForm::create function cron_example/src/Form/CronExampleForm.php
DbtngExampleAddForm::create function 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 dbtng_example/src/Controller/DbtngExampleController.php
DbtngExampleUpdateForm::create function dbtng_example/src/Form/DbtngExampleUpdateForm.php
EmailExampleGetFormPage::create function email_example/src/Form/EmailExampleGetFormPage.php
EntityAutocomplete::create function ajax_example/src/Form/EntityAutocomplete.php Container injection factory.
EventsExampleForm::create function events_example/src/Form/EventsExampleForm.php
ExampleFunctionalTest::testNewPageApiCreate function testing_example/tests/src/Functional/ExampleFunctionalTest.php Demonstrate node creation via NodeCreationTrait::createNode.
ExampleMeatballSandwich::create function plugin_type_example/src/Plugin/Sandwich/ExampleMeatballSandwich.php
FieldExampleBrowserTestBase::createField function field_example/tests/src/Functional/FieldExampleBrowserTestBase.php Create a field on the content type created during setUp().
MockSessionTrait::createSessionMock function stream_wrapper_example/tests/src/Traits/MockSessionTrait.php Create a mock session object.
ModalForm::create function form_api_example/src/Form/ModalForm.php
PagerExamplePage::create function pager_example/src/Controller/PagerExamplePage.php
PluginTypeExampleController::create function 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 queue_example/src/Forms/QueueExampleForm.php
RenderExampleController::create function render_example/src/Controller/RenderExampleController.php
RenderExampleDemoForm::create function render_example/src/Form/RenderExampleDemoForm.php
ReportWorkerBase::create function cron_example/src/Plugin/QueueWorker/ReportWorkerBase.php
RobotFormBase::create function config_entity_example/src/Form/RobotFormBase.php Factory method for RobotFormBase.
SessionExampleForm::create function session_example/src/Form/SessionExampleForm.php
SimpleFormBlock::create function form_api_example/src/Plugin/Block/SimpleFormBlock.php
SimpleTestExampleTest::testSimpleTestExampleCreate function testing_example/src/Tests/SimpleTestExampleTest.php Test node creation through the user interface.
TableDragExampleNestedForm::create function tabledrag_example/src/Form/TableDragExampleNestedForm.php
TableDragExampleResetForm::create function tabledrag_example/src/Form/TableDragExampleResetForm.php
TableDragExampleRootLeafForm::create function tabledrag_example/src/Form/TableDragExampleRootLeafForm.php
TableDragExampleSimpleForm::create function tabledrag_example/src/Form/TableDragExampleSimpleForm.php
TableSortExampleController::create function tablesort_example/src/Controller/TableSortExampleController.php
Wizard::create function ajax_example/src/Form/Wizard.php