doTestMultilingualFormCRUD example

    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);
    }
  }

  /** * Tests hook_entity_form_mode_alter(). * * @see entity_test_entity_form_mode_alter() */
  public function testEntityFormModeAlter() {
    // Create compact entity display.     EntityFormMode::create(['id' => 'entity_test.compact', 'targetEntityType' => 'entity_test'])->save();
    
Home | Imprint | This part of the site doesn't use cookies.