[SOLVED] How to hide a datetime field using form states api

I'm creating some additional functionality for a module and as a part of that I'd like to use the form state API to conditionally show and hide some elements. I've been able to toggle the visibility of a textfield using a select field but when i attempt to do the same for a datetime or table select field, it doesn't work and I'm sure why. Here's my code:

Images from Image Styles Deleted

Some image style derived images have been deleted from my website and I am just wondering if anyone else has experienced this before?

Installed Drupal 8.8.4 on Google Cloud through Kubernetes engine. What further steps do I need to take?

Installed Drupal 8.8.4 on Google Cloud through Kubernetes engine. What further steps do I need to take?

I need to upload some files to this fresh Drupal installation. I need to modify some files such as settings.php. However I am unable to reach the installed files of Drupal.

I have made my some websites through cpanel that was easy. Now I am facing some difficulties, but I am a keen to find out. I am not a techie.

How to restrict access to view a block for a certain role?

I want to hide a block and display only for authenticated users. I have some custom roles as Premium Membership and I don't want to allow access to this category.

Authenticated role will include Premium Membership or Moderator because every registered user have this default role.

What can I do? 

Is there any module for drupal 8 to provide livestreaming with different ip cameras?

I'm trying to find a module on Drupal 8 which will allow me to live stream from different ip cameras 24/7 to different users.

Is there any module available on Drupal 8?

Give permissions specific to country?

Is there a way to give roles to users that have permissions applicable to a certain country? For example, I only want an admin for the country Brazil. So they can add users to the Brazil site but those users would not be reflected in another country site like Canada.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x