* On the QC35, push the button on the right earpiece all the way to the Bluetooth sign and hold it there for at least 10 seconds. Do this with the headset on your head, so you can hear the commands: “all paired devices cleared” and “ready to pair.” (These may not be the exact phrases you hear, but close.)
drush si --account-name=admin --account-pass=Labrad0r
drush uinf --uid=1
drush sql-query "update users_field_data set firstname.lastname@example.org' where uid=1;"
sql-query "UPDATE user_field_data set name='xxxxx' where uid=1;"
Unable to install the XYZ module since it requires the A module
"Adding the yaml_editor to core.extension.yml solved the issue. It perhaps were removed due to a complex git merge, and that's why my install process started to fail all that sudden."
find . -print | xargs wc -l | sort -nr
composer outdated "drupal/*"
php -d memory_limit=-1 /usr/local/bin/composer update drupal/core-recommended --with-dependencies
If you wanted to update Drupal’s token module for example, you would use the command composer update drupal/token --with-dependencies
composer update would upgrade all modules
// Build and render the group_content/user profile form for this user. $group_content = \Drupal::entityTypeManager() ->getStorage('group_content') ->loadUserGroupContentByUser($user); $inline_form = \Drupal::service('plugin.manager.commerce_inline_form') ->createInstance('content_entity', , $group_content); $form['group_content'] = $inline_form->buildInlineForm( [ '#parents' => array_merge($form['#parents'], ['group_content']), '#inline_form' => $inline_form, '#weight' => 10, ], $form_state );
drush ms to see the migrations
# this will run the migration
drush mim migration_name
# to stop the migration
drush mst migration_name
# to reset the migration when it won't stop and it just constantly says "running"
drush mrs migration_name
# to roll back your migration
drush mr migration_name
#this will reload just your migration your editing
drush config-import --partial --source=modules/custom/ipcsync/config/install