Redirect only from the login page

What would be the best way to create a redirect that works only from the login page (user.login)? I use a global redirect in a module as described in

https://drupal.stackexchange.com/questions/195170/redirect-after-user-login in #4

That works for all Logins, I would like to confine it to the login page and keep the others that have no explicit redirect.

Does it make sense to do that with a condition in the module or in a template or template preprocess?

Simple module development question

I have been doing the module development documentation for drupal 8. As I am very rusty with my PHP and I am just learning module development I am running into issues when the documentation is not clear. 

UNique Issue

I am currently migrating our old website to drupal 8. We have over 1000 PDF's that need to meed ADA strict standards for screen reader access.

SO we are going to convert our PDF into html first. The good converters break the converted file into numerous .CSS, .JS and image files and folders. Whats the best practice to import them into a page node as html???

Thanks Mitch

Disable Entity Print from exporting page title in PDF

How do i disable entity print from adding the page title to my pdf export??

Mitch

Get and set field display settings programatically.

Hello everyone,

I am trying to programmatically copy a field from 1 content type to another one in D8. What works well with my code snippet: the content type fields are copied, the form display settings (manage form display) are copied.

What doesn't work: the display settings (manage display) are not. For example, a field with label "hidden" in the source content type will show label "above" after copy.

How are we supposed to programmatically get/set the display settings (label and format) of a field?

Thanks a lot for your answers.

Global and subsite Multisite installtion

Hello,

i want to setup the multisite in drupal 8 and i want like wordpress where there is a main site and other sites and from the main site we can create a subsite and manages all subsite is it possible in the drupal 8? is there any provision where all subsites can be managed and there is a gloabal site dashboard where all subsites can create rather than the we have to create a folder or there is any module for the same

There are some questions related to the multisite and I want to ask is it possible in drupal 8  like wordpress have multisite concept

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x