Show Vocabulary Terms in custom Form?

HI

I create a custom Form:
new entry in the route file

my_module.test:
path: '/my_module/test'
defaults:
_title: 'test'
_form: '\Drupal\my_module\Form\TestForm'
requirements:
_permission: 'administer site configuration'

Implemented the class TestForm. Everything works fine.

In the public function buildForm(array $form, FormStateInterface $form_state) {
I implemented all my fields. But now I want to show a combobox with the entries for a specific vocabular.

How call user login form

Hello ,

I would like to call the user login form in ***.theme in my theme but I can't.

In Drupal 7 I did this

<?php
$elements = drupal_get_form("user_login"); 
$form = drupal_render($elements);	
echo utf8_decode($form);
?>

But How I can do this with drupal 8 ?

I try this

<?php
require_once('/var/www/core/modules/user/src/ProfileForm.php'); 
echo AccountForm::form();
?>

But they doesn't works

Migrate and Migrate Drupal Modul can not be enabled on Drupal 8

Hi,

I want to import old D6 data into my D8 installation. I can enable other modules, but the migrate and migrate drupal module do not get enabled.
I mark them, click on Install and the site reloads without any information what happend.

Thanks for helping

Drupal 8 via openAM Path Issue

Hi,

Background-

My Drupal Site URL: http://10.x.x.x/drupal801
The URL via OpenAM: http://openamsrv/km2/drupal801

Issues:-

I have setup a Drupal 8.0.1 for our development and it works everything fine. However, after I authenticate via our openAM, some paths are incorrect as belows:

add a route in file routing.yml,but no work.

code below:

hello:
  path: '/say_hello'
  defaults:
    _title: 'Hello Title'
    _controller: '\Drupal\hello\HelloController::content'
  requirements:
    _permission: 'access content'

but I add another route:

Forena Reports module for Drupal 8

I would love to migrate from D6 directly to D8 except that we use Forena Reports extensively throughout my client's site and there doesn't seem to be an intent to advance Forena Reports to D8. It is a wonderful module for integrating ad-hock SQL queries into beautiful web pages.

Does anyone know of plans to advance the module to D8? Are there any alternatives that do not require custom module creation?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x