Search for add
Title | Object type | File name | Summary |
---|---|---|---|
AddClass | class | modules/ |
A class with features to show how to do unit testing. |
AddClass.php | file | modules/ |
|
AddClass::add | function | modules/ |
A simple addition method with validity checking. |
AddClassTest | class | modules/ |
AddClass units tests. |
AddClassTest.php | file | modules/ |
|
AddClassTest::addBadDataProvider | function | modules/ |
Data provider for testAddWithBadDataProvider(). |
AddClassTest::addDataProvider | function | modules/ |
Data provider for testAddWithDataProvider(). |
AddClassTest::testAdd | function | modules/ |
Very simple test of AddClass::add(). |
AddClassTest::testAddWithBadDataProvider | function | modules/ |
Test AddClass::add() with data that should throw an exception. |
AddClassTest::testAddWithDataProvider | function | modules/ |
Test AddClass::add() with a data provider method. |
AjaxAddMore | class | modules/ |
Implements the ajax demo form controller. |
AjaxAddMore.php | file | modules/ |
|
AjaxAddMore::addmoreCallback | function | modules/ |
Callback for both ajax-enabled buttons. |
AjaxAddMore::addOne | function | modules/ |
Submit handler for the "add-one-more" button. |
AjaxAddMore::buildForm | function | modules/ |
Form with 'add more' and 'remove' buttons. |
AjaxAddMore::getFormId | function | modules/ |
Returns a unique string identifying the form. |
AjaxAddMore::removeCallback | function | modules/ |
Submit handler for the "remove one" button. |
AjaxAddMore::submitForm | function | modules/ |
Final submit handler. |
AjaxAddRemoveElements | class | modules/ |
Example ajax add remove buttons. |
AjaxAddRemoveElements.php | file | modules/ |
|
AjaxAddRemoveElements::addmoreCallback | function | modules/ |
Callback for both ajax-enabled buttons. |
AjaxAddRemoveElements::addOne | function | modules/ |
Submit handler for the "add-one-more" button. |
AjaxAddRemoveElements::buildForm | function | modules/ |
Form with 'add more' and 'remove' buttons. |
AjaxAddRemoveElements::getFormId | function | modules/ |
Required by FormBase. |
AjaxAddRemoveElements::removeCallback | function | modules/ |
Submit handler for the "remove" button. |
AjaxAddRemoveElements::submitForm | function | modules/ |
Required by FormBase. |
AjaxAddRemoveElements::validateForm | function | modules/ |
Required by FormBase. |
ContentEntityExampleTest::testAddFields | function | modules/ |
Test add new fields to the contact entity. |
ContrivedController::add | function | modules/ |
Add two numbers. |
ContrivedController::displayAddedNumbers | function | modules/ |
A controller method which displays a sum in terms of hands. |
ContrivedControllerTest::provideTestAdd | function | modules/ |
Data provider for testAdd(). |
ContrivedControllerTest::testAdd | function | modules/ |
Test add. |
CronExampleForm::addItems | function | modules/ |
Add the items to the queue when signaled by the form. |
DbtngExampleAddForm | class | modules/ |
Form to add a database entry, with all the interesting fields. |
DbtngExampleAddForm.php | file | modules/ |
|
DbtngExampleAddForm::$currentUser | property | modules/ |
The current user. |
DbtngExampleAddForm::$repository | property | modules/ |
Our database repository service. |
DbtngExampleAddForm::buildForm | function | modules/ |
Form constructor. |
DbtngExampleAddForm::create | function | modules/ |
We'll use the ContainerInjectionInterface pattern here to inject the current user and also get the string_translation service. |
DbtngExampleAddForm::getFormId | function | modules/ |
Returns a unique string identifying the form. |
DbtngExampleAddForm::submitForm | function | modules/ |
Form submission handler. |
DbtngExampleAddForm::validateForm | function | modules/ |
Form validation handler. |
DbtngExampleAddForm::__construct | function | modules/ |
Construct the new form object. |
DisplayManager::addDisplayableItem | function | modules/ |
Add a displayable item. |
FapiExampleTest::doTestAjaxAddMore | function | modules/ |
Test the Ajax Add More demo form. |
FrontPageLinkDependenciesTest::testAddContentMenuItem | function | modules/ |
Tests for the existence of a default menu item on the home page. |
FrontPageLinkTest::testAddContentMenuItem | function | modules/ |
Tests for the existence of a default menu item on the home page. |
ProtectedPrivates::privateAdd | function | modules/ |
A simple addition method with validity checking. |
ProtectedPrivates::protectedAdd | function | modules/ |
A simple addition method with validity checking. |
ProtectedPrivatesSubclass::subclassProtectedAdd | function | modules/ |
A stub class so we can access a protected method. |
Pagination
- Page 1
- Next page