Search for add
Title | Object type | File name | Summary |
---|---|---|---|
AddClass | class | phpunit_example/ |
A class with features to show how to do unit testing. |
AddClass.php | file | phpunit_example/ |
|
AddClass::add | function | phpunit_example/ |
A simple addition method with validity checking. |
AddClassTest | class | phpunit_example/ |
AddClass units tests. |
AddClassTest.php | file | phpunit_example/ |
|
AddClassTest::addBadDataProvider | function | phpunit_example/ |
Data provider for testAddWithBadDataProvider(). |
AddClassTest::addDataProvider | function | phpunit_example/ |
Data provider for testAddWithDataProvider(). |
AddClassTest::testAdd | function | phpunit_example/ |
Very simple test of AddClass::add(). |
AddClassTest::testAddWithBadDataProvider | function | phpunit_example/ |
Test AddClass::add() with data that should throw an exception. |
AddClassTest::testAddWithDataProvider | function | phpunit_example/ |
Test AddClass::add() with a data provider method. |
AjaxAddMore | class | form_api_example/ |
Implements the ajax demo form controller. |
AjaxAddMore.php | file | form_api_example/ |
|
AjaxAddMore::addmoreCallback | function | form_api_example/ |
Callback for both ajax-enabled buttons. |
AjaxAddMore::addOne | function | form_api_example/ |
Submit handler for the "add-one-more" button. |
AjaxAddMore::buildForm | function | form_api_example/ |
Form with 'add more' and 'remove' buttons. |
AjaxAddMore::getFormId | function | form_api_example/ |
|
AjaxAddMore::removeCallback | function | form_api_example/ |
Submit handler for the "remove one" button. |
AjaxAddMore::submitForm | function | form_api_example/ |
Final submit handler. |
ContentEntityExampleTest::testAddFields | function | content_entity_example/ |
Test add new fields to the contact entity. |
ContrivedController::add | function | testing_example/ |
Add two numbers. |
ContrivedController::displayAddedNumbers | function | testing_example/ |
A controller method which displays a sum in terms of hands. |
ContrivedControllerTest::provideTestAdd | function | testing_example/ |
Data provider for testAdd(). |
ContrivedControllerTest::testAdd | function | testing_example/ |
Test add. |
CronExampleForm::addItems | function | cron_example/ |
Add the items to the queue when signaled by the form. |
DbtngExampleAddForm | class | dbtng_example/ |
Form to add a database entry, with all the interesting fields. |
DbtngExampleAddForm.php | file | dbtng_example/ |
|
DbtngExampleAddForm::$currentUser | property | dbtng_example/ |
The current user. |
DbtngExampleAddForm::$repository | property | dbtng_example/ |
Our database repository service. |
DbtngExampleAddForm::buildForm | function | dbtng_example/ |
|
DbtngExampleAddForm::create | function | dbtng_example/ |
We'll use the ContainerInjectionInterface pattern here to inject the current user and also get the string_translation service. |
DbtngExampleAddForm::getFormId | function | dbtng_example/ |
|
DbtngExampleAddForm::submitForm | function | dbtng_example/ |
|
DbtngExampleAddForm::validateForm | function | dbtng_example/ |
|
DbtngExampleAddForm::__construct | function | dbtng_example/ |
Construct the new form object. |
DisplayManager::addDisplayableItem | function | phpunit_example/ |
Add a displayable item. |
FapiExampleTest::doTestAjaxAddMore | function | form_api_example/ |
Test the Ajax Add More demo form. |
FrontPageLinkDependenciesTest::testAddContentMenuItem | function | testing_example/ |
Tests for the existence of a default menu item on the home page. |
FrontPageLinkTest::testAddContentMenuItem | function | testing_example/ |
Tests for the existence of a default menu item on the home page. |
ProtectedPrivates::privateAdd | function | phpunit_example/ |
A simple addition method with validity checking. |
ProtectedPrivates::protectedAdd | function | phpunit_example/ |
A simple addition method with validity checking. |
ProtectedPrivatesSubclass::subclassProtectedAdd | function | phpunit_example/ |
A stub class so we can access a protected method. |
ProtectedPrivatesTest::addBadDataProvider | function | phpunit_example/ |
Bad data provider. |
ProtectedPrivatesTest::addDataProvider | function | phpunit_example/ |
Good data provider. |
ProtectedPrivatesTest::testPrivateAdd | function | phpunit_example/ |
Test ProtectedPrivate::privateAdd(). |
ProtectedPrivatesTest::testPrivateAddBadData | function | phpunit_example/ |
Test ProtectedPrivate::privateAdd() with bad data. |
ProtectedPrivatesTest::testProtectedAdd | function | phpunit_example/ |
Test ProtectedPrivates::protectedAdd() using a stub class. |
ProtectedPrivatesTest::testProtectedAddBadData | function | phpunit_example/ |
Test ProtectedPrivates::protectedAdd() with bad data using a stub class. |
QueueExampleForm::submitAddQueueItem | function | queue_example/ |
Submit function for the insert-into-queue button. |
render-example-add-div.html.twig | file | render_example/ |
Default theme implementation for render_example_add_div. |
RenderExampleController::postRenderAddPrefix | function | render_example/ |
Example '#post_render' callback function. |
Pagination
- Page 1
- Next page