Media field private file upload

The media field does not support private file upload, is this correct?

Is there a way to display error/logging message according to different roles?

I see we can config logging and errors through /admin/config/development/logging in the site.

However if we display all messages, no matter which role you log in with, you will see the warnings and errors.

I just want to know if there is way we can display warnings and errors for certain roles, e.g. admin or developer. And hide warnings or errors for content author or anonymous user.

Thanks,

module for banner

How to create custom module for banner, i have content type banner with img field that is link to another page, are somewhere any examples for this?

Add new subfield to existing compound field(custom field type)

I have created a compound field with 2 subfields (title, body). Now I need to add another subfield (Footer) to the same compound field.

Though I have added the new field definition in all required places (propertyDefinition,schema,formElement), field is not getting created in the table. How to achieve this? Kindly help me on this.

Views filter exposed

In one views I have an Entity Reference field. In the filter criteria I inserted an exposed filter to filter the rows based on the written data.
In the filter identifier report this field (field_richiedente_target_id), I changed it to "field_richiedente_entity_label", but without success. Could you tell me how to search by description and not by ID?

Views with aggregation

I've tried aggregation, it works and it's comfortable. I have a greater and more complex need.
In the views I have 2 content types. Each with a numeric field.
The aggregation should display the total by content type and then calculate the difference between the 2 amounts.

I would like to make it programmatically. Can you route me to suggesting what to read?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x