get the field type id/name

Hi, i have the system name of a given field (for instance 'field_help'),

i have no idea of its bundle, etc etc. All that i have is that field system name

Does  exist a service that can retrieve the field type id of this field ?

 Thx

Issue with Photos in Responsive design

Hi,

I am wondering what is the best way to show a photo that takes up half of the hero section of a homepage as well basic pages. Currently the photos get cropped in such a way that heads are getting chopped off, or most of the focal point is missing completely.

Drupal 8 languageManager inside controller of custom module returns default language instead of interface language

When I use following code.
 

    \Drupal::languageManager()->getCurrentLanguage()->getId();

inside the controller of my custom module it returns default language instead of the interface language but when I put the same code inside the .module file of my custom module it returns correct language. Am I missing something here ?

Upgrade to D8.5.1 broke site visualization

I upgraded Drupal to 8.5.1 from 8.4.4 using drush without any error. But when I go to the site the visualization seems to have loose the theme. If I change the theme, nothing change. Is there a way to solve the problem?

This is the site: http://talos.cerm.unifi.it/Instruct-IT

Installing Drupal8 in cloud9 using composer

I am tring to installa drupal using composer and am getting the following error. Help resolve it thanks

How to set user id in link tags?

Hello.

I'm trying to configure a certain status message in my translation in admin panel: /admin/config/regional/translate

When a user, which the admin added first, logs in on the site, I want to have a message, with a link in it, which redirects him to /user/id/edit. Sinc the user id changes dependent on logged in user, how can I achive this in the translation?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x