Loading multiple image for a node in custom block using db query in Drupal 8

Hello Dear Experts,
I am new in Drupal 8 so Could someone please help me how to write a query that can give me multiple images urls for a node in Drupal 8. Then I want to send it to a twig theme to style them.

here is a part of my code that i have written so maybe someone can help me to modify it:

$db = \Drupal::database();

Error Exception: Object of type Drupal\custom\Plugin\Block\CustomController cannot be printed.

Hi,

I have created one custom module and created one block inside it.
I want to render the same block in one of my content type template.
Below mentioned code i have written in .theme file under hook_prepossess_node()

$manager =  \Drupal::service('plugin.manager.block');
		$configuration = array(
		  'label' => 'Custom label',
		);
		$variables['block_custom'] = $manager->createInstance('custom', $configuration);

And than print the {{block_custom}} variable in node--type.html.twig file.

D8 Configurable Form

I'm just testing how things work in d8

and im in the part where i want to create a form that saves in the config

i already have a moduleName.settings.yml in moduleName/config/install

and my form is already rendering, but i cant seem to make the config works

this is what i did

SSL certificate failure?

I am attempting to download the current version of D8.

wget https://ftp.drupal.org/files/projects/drupal-8.0.5.zip

returns:

Hide Title & Populate on Save

On a couple of custom content types I've created, I don't want the user to be able to fill out that information.

Instead, I want to automatically set the title based upon the input of other fields. Are there any examples of this?

If possible, I'd like to hide the title field on the actual edit page for the content type.

Thanks for your help!
I'm doing this in Drupal 8.

8: Theme for one Content Type Only?

I want to customize how some of my content types display. Where do I do this at in Drupal 8?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x