doTestFormCRUD example

// Add a language.     ConfigurableLanguage::createFromLangcode('ro')->save();
  }

  /** * Tests basic form CRUD functionality. */
  public function testFormCRUD() {
    // All entity variations have to have the same results.     foreach (entity_test_entity_types() as $entity_type) {
      $this->doTestFormCRUD($entity_type);
    }
  }

  /** * Tests basic multilingual form CRUD functionality. */
  public function testMultilingualFormCRUD() {
    // All entity variations have to have the same results.     foreach (entity_test_entity_types(ENTITY_TEST_TYPES_MULTILINGUAL) as $entity_type) {
      $this->doTestMultilingualFormCRUD($entity_type);
    }
  }
Home | Imprint | This part of the site doesn't use cookies.