@mglaman@phpc.social
@mglaman@phpc.social avatar

mglaman

@mglaman@phpc.social

#php && #drupal dev

mglaman.eth | nmdmatt@twitter.com

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mglaman, to random
@mglaman@phpc.social avatar

The picture doesn't do it justice, but this spot is my favorite at MKE, especially on a sunny morning like today.

Officially on my way to , can't wait!

mglaman, to drupal
@mglaman@phpc.social avatar

I hope to see you bright and early on Monday at 9 AM PDT at @drupalcon for my session on using Retrofit to save time upgrading from Drupal 7 to #Drupal 10 and beyond!

https://events.drupal.org/portland2024/session/save-time-upgrading-drupal-7-drupal-10-using-retrofit

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar

For my blog, I wrote a media type source plugin that allows adding rich embeds of links (like on social platforms.)

Should I turn it into a contrib module? I call them "Embed links", I'm not sure what the project would be named.

mglaman,
@mglaman@phpc.social avatar

@DaleTrexel I use the embed/embed library, which normalizes open graph and other metadata. It's really simplistic

$embed_link = (new Embed)->get($media_url);

return match ($name) {
'default_name', 'title' => $embed_link->title,
'url' => $media_url,
'description' => $embed_link->description,
'image' => $embed_link->image,
default => null,
};

mglaman,
@mglaman@phpc.social avatar

@mandclu but, even sandbox need a name ๐Ÿค”

mglaman,
@mglaman@phpc.social avatar

@DaleTrexel @mandclu I was thinking "Rich" should be in the name, and "Rich Links" is probably too generic. Unless media_rich_links

mglaman,
@mglaman@phpc.social avatar

@DaleTrexel I was thinking the media prefix in machine name since it's for the media module.

The display name could be "Media: Content Embed Links"

or just call it "Media: Embed Links", media_embed_links and call it a day

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to drupal
@mglaman@phpc.social avatar

This needs to be a blog post, but here's an example of how smart_date can handle a deprecation in 10.2 and keep ^9 || ^10 compatibility

MR https://git.drupalcode.org/project/smart_date/-/merge_requests/81

Blog about DeprecationHelper https://mglaman.dev/blog/writing-backward-compatible-deprecation-fixes-contributed-modules-will-be-much-easier-drupal

mglaman, to drupal
@mglaman@phpc.social avatar

Are you using @phpstan on your projects yet? Learn about PHPStan at my talk, "Tighten up your Drupal code using PHPStan," at 11:15am! Room 314A

markusstaab, to opensource German
@markusstaab@phpc.social avatar

anyone aware of a which is heavily relying on process isolation?

I am working on reducing overhead of process isolation and would love testing my progress on a real world test-suite.

RT welcome

mglaman,
@mglaman@phpc.social avatar

@markusstaab Drupal. All kernel test suite tests use it.

mglaman,
@mglaman@phpc.social avatar

@markusstaab yes, I can write up a list for running them when I'm desktop today, making a note for myself. I meant to before but got caught up at a conference

mglaman,
@mglaman@phpc.social avatar

@markusstaab I will! if you're still curious:

SIMPLETEST_DB=sqlite://localhost/db.sqlite php vendor/bin/phpunit -c core/phpunit.xml --testsuite kernel

For all kernel tests in Drupal core

Or a subset

SIMPLETEST_DB=sqlite://localhost/db.sqlite php vendor/bin/phpunit -c core/phpunit.xml core/modules/system/tests/src/Kernel

mglaman,
@mglaman@phpc.social avatar

@markusstaab shoot, we're stuck on 9. was this released for 11 only?

mglaman,
@mglaman@phpc.social avatar

@markusstaab D10 is blocked on 9, but I think 11 is bumping to 10 or 11. I've dropped a mention in Drupal Slack for folks to check (I don't know if we've made the bump yet)

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar

I joined Pinkary, cool project and I like the AMA aspect

https://pinkary.com/@mglaman

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman,
@mglaman@phpc.social avatar

@DaleTrexel yeah, it's tough. This should make it a lot better. I want to focus on more developer experience issues like this to make working with Drupal a bit more delightful. Not from a UI perspective but this kind of stuff.

pcambra, to LEGO
@pcambra@drupal.community avatar

The Azure Kingfisher, #lego set 10331

Small but interesting and challenging build with lots of technical pieces, I am enjoying this new theme, itโ€™s very detailed and the base is pretty nice.

Lego kingfisher build
Lego kingfisher build

mglaman,
@mglaman@phpc.social avatar

@pcambra we just saw one of these at the zoo and then I showed our boys this Lego, super cool!

froboy, to chicago
@froboy@mastodon.online avatar

in - 60ยฐ F apparent temperature change in less than 24 hours. ๐Ÿคฏ ๐Ÿ๏ธ ๐Ÿฅถ

mglaman,
@mglaman@phpc.social avatar

@froboy we had a high of 75 yesterday. Now it's 18 and feels like 1

And there is snow.

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to drupal
@mglaman@phpc.social avatar

I've just nominated someone for the 2024 Aaron Winborn Award! I highly recommend you do, too!

https://www.drupal.org/community/cwg/blog/nominations-are-now-open-for-the-2024-aaron-winborn-award

mglaman, to drupal
@mglaman@phpc.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • anitta
  • kavyap
  • PowerRangers
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • rosin
  • tacticalgear
  • Youngstown
  • slotface
  • ngwrru68w68
  • osvaldo12
  • everett
  • DreamBathrooms
  • normalnudes
  • vwfavf
  • GTA5RPClips
  • hgfsjryuu7
  • mdbf
  • cubers
  • Durango
  • cisconetworking
  • ethstaker
  • modclub
  • khanakhh
  • tester
  • Leos
  • provamag3
  • All magazines