Jump to content

Fionn

New Members
  • Posts

    4
  • Joined

  • Last visited

Fionn's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you, Barand. I am just learning and I am not familiar with that notation (using -> to call methods).
  2. I need help understanding what this code is doing: $alias = $this->select('url_alias', 'ua') ->fields('ua', ['alias']) ->condition('ua.source', 'node/' . $nid) ->execute() ->fetchField(); Thank you for any insight
  3. Thanks so much for the thorough explanation gizmola. This is a big help.
  4. I am fairly new to php coding and completely new Drupal 8 coding. I am having trouble understanding some regular notation I see in passing arguments to functions. Here is an example function mymodule_form_alter(&$form, Drupal\Core\Form\FormStateInterface $form_state, $form_id) I am not sure what "Drupal\Core\Form\FormStateInterface $form_state" means. Does is mean that $form_state will be passed in from FormStateInterface?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.